[Cppunit-devel] BLENDFUNCTION in windows.h
Brought to you by:
blep
From: Curt A. <ca...@ho...> - 2004-04-20 04:47:32
|
include/cppunit/plugin/TestPlugIn.h, src/cppunit/DllMain.cpp and src/cppunit/Win32DynamicLibraryManager.cpp all include windows.h after setting macros to suppress inclusion of a lot of nested include files. Unfortunately, this causes Cygwin's gcc to fail since its layout of the win32 include files are a little different. Adding the following statement just prior to the #include "windows.h" allows gcc to compile and should have no adverse effects. #define BLENDFUNCTION void While you are at it, WIN32 is used in the same files and should be changed to _WIN32. |