[pywin32-checkins] pywin32/win32/src PyWinTypesmodule.cpp,1.9,1.10
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-10-31 02:47:43
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1:/tmp/cvs-serv16324 Modified Files: PyWinTypesmodule.cpp Log Message: Remove DLLMAIN macro hell that was used for freeze (but should no longer be necessary, as a) freeze is dead, and (b) a /D option should be able to do the same magic. Index: PyWinTypesmodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypesmodule.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** PyWinTypesmodule.cpp 27 Feb 2003 21:54:45 -0000 1.9 --- PyWinTypesmodule.cpp 31 Oct 2003 02:47:39 -0000 1.10 *************** *** 491,506 **** } - #ifndef BUILD_FREEZE - #define DLLMAIN DllMain - #define DLLMAIN_DECL - #else - #define DLLMAIN DllMainpywintypes - #define DLLMAIN_DECL __declspec(dllexport) - #endif - #ifndef MS_WINCE ! extern "C" #endif - DLLMAIN_DECL BOOL WINAPI DLLMAIN(HANDLE hInstance, DWORD dwReason, LPVOID lpReserved) { --- 491,497 ---- } #ifndef MS_WINCE ! extern "C" __declspec(dllexport) #endif BOOL WINAPI DLLMAIN(HANDLE hInstance, DWORD dwReason, LPVOID lpReserved) { |