]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/config.cpp
missing headers for !USE_PCH compilation
[wxWidgets.git] / src / common / config.cpp
index 24c66d9e901e00ea4570d6c5c6cf3e7c1644be41..9b5612a4b0a2a7e976c009a278d5312172484c64 100644 (file)
@@ -13,7 +13,7 @@
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "confbase.h"
 #endif
 
@@ -335,7 +335,11 @@ wxString wxExpandEnvVars(const wxString& str)
 
           wxString strVarName(str.c_str() + n + 1, m - n - 1);
 
+#ifdef __WXWINCE__
+          const wxChar *pszValue = NULL;
+#else
           const wxChar *pszValue = wxGetenv(strVarName);
+#endif
           if ( pszValue != NULL ) {
             strResult += pszValue;
           }