diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-12-17 12:04:08 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-12-17 12:04:08 +0100 |
commit | 98cfc4ce9d2a6f34b63f1354f3149b501398a160 (patch) | |
tree | 0ac68f0804867b2e68691f99d576facda0761418 /defines.h | |
parent | - dtucker@cvs.openbsd.org 2005/12/30 04:36:39 (diff) | |
download | openssh-98cfc4ce9d2a6f34b63f1354f3149b501398a160.tar.xz openssh-98cfc4ce9d2a6f34b63f1354f3149b501398a160.zip |
- (dtucker) [defines.h] HP-UX system headers define "YES" and "NO" which
scp.c also uses, so undef them here.
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,7 +25,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.129 2005/10/09 01:40:04 dtucker Exp $ */ +/* $Id: defines.h,v 1.130 2005/12/17 11:04:09 dtucker Exp $ */ /* Constants */ @@ -715,4 +715,12 @@ struct winsize { # undef HAVE_MMAP #endif +/* some system headers on HP-UX define YES/NO */ +#ifdef YES +# undef YES +#endif +#ifdef NO +# undef NO +#endif + #endif /* _DEFINES_H */ |