Misc small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -181,6 +181,12 @@
|
||||
// in VC++ 4.2 the bool keyword is reserved (hence can't be typedefed)
|
||||
// but not implemented, so we must #define it
|
||||
#define bool unsigned int
|
||||
#elif defined(__VISUALC__) && (__VISUALC__ == 1010)
|
||||
// For VisualC++ 4.1, we need to define
|
||||
// bool as something between 4.0 & 5.0...
|
||||
typedef unsigned int wxbool;
|
||||
#define bool wxbool
|
||||
#define HAVE_BOOL
|
||||
#elif defined(__VISUALC__) && (__VISUALC__ > 1020)
|
||||
// VC++ supports bool since 4.2
|
||||
#define HAVE_BOOL
|
||||
|
Reference in New Issue
Block a user