X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..df1496e3eb11e87e15a29fd04c068cd6cd3b607e:/src/common/quantize.cpp diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp index efe74bc7f3..b5936f21fb 100644 --- a/src/common/quantize.cpp +++ b/src/common/quantize.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: quantize.cpp +// Name: src/common/quantize.cpp // Purpose: wxQuantize implementation // Author: Julian Smart // Modified by: @@ -37,14 +37,15 @@ #pragma hdrstop #endif +#if wxUSE_IMAGE + +#include "wx/quantize.h" + #ifndef WX_PRECOMP #include "wx/palette.h" #endif -#if wxUSE_IMAGE - #include "wx/image.h" -#include "wx/quantize.h" #ifdef __WXMSW__ #include "wx/msw/private.h" @@ -73,7 +74,7 @@ typedef unsigned short UINT16; typedef signed short INT16; -#if !(defined(__WATCOMC__) && defined(__WXMSW__)) +#if !(defined(__WATCOMC__) && (defined(__WXMSW__) || defined(__WXMOTIF__))) typedef signed int INT32; #endif