X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1dedb80b26cd3ac1efa0a01f40467b2dc4f9e3a9..d5b12ad9a71615729a2dae61246a897f5e515e04:/src/common/xpmdecod.cpp diff --git a/src/common/xpmdecod.cpp b/src/common/xpmdecod.cpp index 70c19c20ae..35e9b0b521 100644 --- a/src/common/xpmdecod.cpp +++ b/src/common/xpmdecod.cpp @@ -90,7 +90,7 @@ license is as follows: * in this Software without prior written authorization from GROUPE BULL. */ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xpmdecod.h" #endif @@ -119,20 +119,6 @@ license is as follows: #include "wx/xpmdecod.h" -#ifdef __WXWINCE__ -char* strdup(const char* s) -{ - char* s2 = new char[strlen(s)]; - strcpy(s2, s); - return s2; -} - -bool isspace(char c) -{ - return (c == ' '); -} -#endif - #if wxUSE_STREAMS bool wxXPMDecoder::CanRead(wxInputStream& stream) {