2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00

Add #pragmas which allow compilation in ansi strict mode under Metrowerks

[SVN r8123]
This commit is contained in:
Dave Abrahams
2000-11-04 05:54:58 +00:00
parent 562b478b1a
commit f0f317ed44

View File

@@ -851,7 +851,13 @@ CompareIntPairPythonClass::CompareIntPairPythonClass()
#if defined(_WIN32)
# ifdef __MWERKS__
# pragma ANSI_strict off
# endif
# include <windows.h>
# ifdef __MWERKS__
# pragma ANSI_strict reset
# endif
extern "C" BOOL WINAPI DllMain ( HINSTANCE hInst, DWORD wDataSeg, LPVOID lpvReserved );
# ifdef PY_COMPILER_IS_MSVC