X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dec57adfdb2469b7679930092f0bd9c8569d62c..be71e18af4e329233714e2e0b59049ef6b3c606d:/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