]> pd.if.org Git - pdclib.old/blobdiff - includes/iso646.h
Modify various POSIX platform files so you can build on top of glibc for testing
[pdclib.old] / includes / iso646.h
index 48ca809ed35c120fe1409f4e26f72e059759619d..80159fcb8a8e009bccab68508b59cd34b7442095 100644 (file)
@@ -1,7 +1,5 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
 /* 7.9 Alternative spellings <iso646.h>
 
    This file is part of the Public Domain C Library (PDCLib).
 #ifndef _PDCLIB_ISO646_H
 #define _PDCLIB_ISO646_H _PDCLIB_ISO646_H
 
+#ifndef __cplusplus
 #define and &&
 #define and_eq &=
 #define bitand &
 #define bitor |
-#define compl \98
+#define compl ~
 #define not !
 #define not_eq !=
 #define or ||
 #define or_eq |=
-#define xor \88
-#define xor_eq \88=
+#define xor ^
+#define xor_eq ^=
+#endif
 
 #endif