X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dec57adfdb2469b7679930092f0bd9c8569d62c..08a092f9f4de6c80a2d43d4072c379ac84e6cc2f:/samples/opengl/penguin/lw.cpp diff --git a/samples/opengl/penguin/lw.cpp b/samples/opengl/penguin/lw.cpp index 027cf0eb98..957f18aa08 100644 --- a/samples/opengl/penguin/lw.cpp +++ b/samples/opengl/penguin/lw.cpp @@ -25,8 +25,8 @@ #include #include -#ifndef __WXMAC__ -// does this not give redefine errors on other platforms ? +#if !defined(__WXMAC__) || defined(__DARWIN__) +// these must be defined in the precompiled headers under CodeWarrior #define wxInt32 int #define wxUint32 unsigned int #endif