[Python-checkins] CVS: python/dist/src/PC config.h,1.35,1.35.2.1

Greg Ward python-dev@python.org
Fri, 4 Aug 2000 18:00:23 -0700


Update of /cvsroot/python/python/dist/src/PC
In directory slayer.i.sourceforge.net:/tmp/cvs-serv28486

Modified Files:
      Tag: cnri-16-start
	config.h 
Log Message:
Pragmas that instruct the linker to link against python16.lib (or
python16_d.lib) only active on MSVC++; different library formats needed
for different compilers, and it's handled by the Distutils anyways.


Index: config.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.h,v
retrieving revision 1.35
retrieving revision 1.35.2.1
diff -C2 -r1.35 -r1.35.2.1
*** config.h	2000/05/10 13:25:32	1.35
--- config.h	2000/08/05 01:00:21	1.35.2.1
***************
*** 256,261 ****
  #ifdef MS_WIN32
  
! #ifndef USE_DL_EXPORT
! /* So nobody needs to specify the .lib in their Makefile any more */
  #ifdef _DEBUG
  #pragma comment(lib,"python16_d.lib")
--- 256,263 ----
  #ifdef MS_WIN32
  
! #if !defined(USE_DL_EXPORT) && defined(_MSC_VER)
! /* So nobody using MSVC needs to specify the .lib in their Makefile any
!    more (other compilers will still need it, but that's taken care
!    of by the Distutils, so it's not a problem). */
  #ifdef _DEBUG
  #pragma comment(lib,"python16_d.lib")