lib/replace/wscript:Tru64 build - Better use version 600 for _XOPEN_SOURCE
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 11 Sep 2010 14:50:47 +0000 (16:50 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 11 Sep 2010 15:23:55 +0000 (17:23 +0200)
commitea3f21dff6c28dc26a3cf9223da84ff4c545b22c
tree0d436d856cb493502ce5173defde49f93ce26fa6
parent83cd3f76307edcba7df2fbbde54a029ce5b4e9f8
lib/replace/wscript:Tru64 build - Better use version 600 for _XOPEN_SOURCE

This means we request the "Single UNIX Specification, Version 3" with C99
compatibility as the Python 2.5 release on the system. This prevents
redefinitions with different values.

> [ 451/1918] Compiling scripting/python/pyglue.c
> cc: Warning: /usr/local/include/python2.5/pyconfig.h, line 951: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ.  The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 600
> ----------------------^
> cc: Warning: default/source4/include/config.h, line 54: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ.  The redefinition is now in effect. (macroredef)
> #define _XOPEN_SOURCE 500
> ----------------------^
lib/replace/wscript