summaryrefslogtreecommitdiffstats
path: root/PCbuild/mmap.dsp
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 (GMT)
commit62b1ab1b314653c09757c533883447eda437306f (patch)
tree0aaf9538469559756f9129c5da8b09abc4903c04 /PCbuild/mmap.dsp
parent92825a9a525c268b9797b8be28dbd959b64a821d (diff)
downloadcpython-62b1ab1b314653c09757c533883447eda437306f.zip
cpython-62b1ab1b314653c09757c533883447eda437306f.tar.gz
cpython-62b1ab1b314653c09757c533883447eda437306f.tar.bz2
Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link
command line for Windows builds. This should allow MSVC to import and build the Python MSVC6 project files without error.
Diffstat (limited to 'PCbuild/mmap.dsp')
-rw-r--r--PCbuild/mmap.dsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/mmap.dsp b/PCbuild/mmap.dsp
index 2aaec0b..3d01cae 100644
--- a/PCbuild/mmap.dsp
+++ b/PCbuild/mmap.dsp
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1F0000" /dll /machine:I386 /out:"./mmap.pyd" /export:initmmap
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1F0000" /dll /machine:I386 /out:"./mmap.pyd"
# SUBTRACT LINK32 /pdb:none
!ELSEIF "$(CFG)" == "mmap - Win32 Debug"
@@ -82,7 +82,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1F0000" /dll /debug /machine:I386 /out:"./mmap_d.pyd" /pdbtype:sept /export:initmmap
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1F0000" /dll /debug /machine:I386 /out:"./mmap_d.pyd" /pdbtype:sept
# SUBTRACT LINK32 /pdb:none
!ENDIF