summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-12-17 22:04:08 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-12-17 22:04:08 +1100
commit98cfc4ce9d2a6f34b63f1354f3149b501398a160 (patch)
tree0ac68f0804867b2e68691f99d576facda0761418 /defines.h
parent3154358d66c99636021e7f1b9555064d9cc38e00 (diff)
- (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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 92ebd2697..f25934176 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.129 2005/10/09 01:40:04 dtucker Exp $ */ 28/* $Id: defines.h,v 1.130 2005/12/17 11:04:09 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -715,4 +715,12 @@ struct winsize {
715# undef HAVE_MMAP 715# undef HAVE_MMAP
716#endif 716#endif
717 717
718/* some system headers on HP-UX define YES/NO */
719#ifdef YES
720# undef YES
721#endif
722#ifdef NO
723# undef NO
724#endif
725
718#endif /* _DEFINES_H */ 726#endif /* _DEFINES_H */