]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#4499: silence compiler warning on AIX.
authorR. David Murray <rdmurray@bitdance.com>
Mon, 18 Oct 2010 00:15:31 +0000 (00:15 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 18 Oct 2010 00:15:31 +0000 (00:15 +0000)
Patch from ActiveState.

Include/token.h

index 772a85e7f01fe45821fa8f79411b53ee012a3a05..9c19f5ce9d1d7386f8e050ce747ff1c3b3451941 100644 (file)
@@ -7,6 +7,8 @@
 extern "C" {
 #endif
 
+#undef TILDE   /* Prevent clash of our definition with system macro. Ex AIX, ioctl.h */
+
 #define ENDMARKER      0
 #define NAME           1
 #define NUMBER         2