[Python-checkins] python/dist/src/PC pyconfig.h,1.18,1.19

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 29 Mar 2003 02:04:57 -0800


Update of /cvsroot/python/python/dist/src/PC
In directory sc8-pr-cvs1:/tmp/cvs-serv28047/PC

Modified Files:
	pyconfig.h 
Log Message:
Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.


Index: pyconfig.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/pyconfig.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** pyconfig.h	21 Dec 2002 18:34:06 -0000	1.18
--- pyconfig.h	29 Mar 2003 10:04:55 -0000	1.19
***************
*** 168,172 ****
  #define COMPILER "[gcc]"
  #define hypot _hypot
! #define LONG_LONG long long
  #endif /* GNUC */
  
--- 168,172 ----
  #define COMPILER "[gcc]"
  #define hypot _hypot
! #define PY_LONG_LONG long long
  #endif /* GNUC */
  
***************
*** 192,197 ****
  /* 64 bit ints are usually spelt __int64 unless compiler has overridden */
  #define HAVE_LONG_LONG 1
! #ifndef LONG_LONG
! #	define LONG_LONG __int64
  #endif
  
--- 192,197 ----
  /* 64 bit ints are usually spelt __int64 unless compiler has overridden */
  #define HAVE_LONG_LONG 1
! #ifndef PY_LONG_LONG
! #	define PY_LONG_LONG __int64
  #endif
  
***************
*** 238,242 ****
  #	define SIZEOF_HKEY 8
  /* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
!    sizeof(off_t) > sizeof(long), and sizeof(LONG_LONG) >= sizeof(off_t).
     On Win64 the second condition is not true, but if fpos_t replaces off_t
     then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
--- 238,242 ----
  #	define SIZEOF_HKEY 8
  /* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
!    sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
     On Win64 the second condition is not true, but if fpos_t replaces off_t
     then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64