[issue4499] redefinition of TILDE macro on AIX platform

Sridhar Ratnakumar report at bugs.python.org
Mon Jul 19 18:10:37 CEST 2010


Sridhar Ratnakumar <sridharr at activestate.com> added the comment:

I've located the following patch in our ActivePython source tree.

$ cat src/patches/3.1/general/aix_tilde.patch 
--- Include/token.h.orig        2008-10-08 11:51:52.000000000 -0700
+++ python/Include/token.h      2008-10-08 11:52:53.000000000 -0700
@@ -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

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4499>
_______________________________________


More information about the Python-bugs-list mailing list