Update of /cvsroot/pywin32/pywin32/Pythonwin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10730
Modified Files:
win32uiole.cpp
Log Message:
Use a #define to locate the MFC source code install (it is in a different
relative location when MFC is in the platform SDK)
Index: win32uiole.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32uiole.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** win32uiole.cpp 24 May 2007 12:50:50 -0000 1.7
--- win32uiole.cpp 13 Jul 2007 03:04:04 -0000 1.8
***************
*** 22,26 ****
// includes, which it is by default)
#else
! #include "..\src\occimpl.h"
#endif /* _MFC_VER */
--- 22,29 ----
// includes, which it is by default)
#else
! #ifndef MFC_OCC_IMPL_H
! # error(MFC_OCC_IMPL_H must be set to the location of the MFC source code)
! #endif
! #include MFC_OCC_IMPL_H
#endif /* _MFC_VER */
|