[Python-checkins] python/dist/src/Include Python.h,2.55,2.56

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 20 Jul 2002 01:51:55 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv17988/Include

Modified Files:
	Python.h 
Log Message:
Define _XOPEN_SOURCE and _GNU_SOURCE in pyconfig.h, to have them
available in the configure tests already.


Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.55
retrieving revision 2.56
diff -C2 -d -r2.55 -r2.56
*** Python.h	18 Jul 2002 22:39:34 -0000	2.55
--- Python.h	20 Jul 2002 08:51:52 -0000	2.56
***************
*** 3,17 ****
  /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
  
- 
- /* Enable compiler features; switching on C lib defines doesn't work
-    here, because the symbols haven't necessarily been defined yet. */
- #ifndef _GNU_SOURCE
- # define _GNU_SOURCE	1
- #endif
- 
- #ifndef _XOPEN_SOURCE
- # define _XOPEN_SOURCE 500
- #endif
- 
  /* Include nearly all Python header files */
  
--- 3,6 ----