delete [] s;
}
-#endif
+#else // __WXWINCE__
+ wxUnusedVar(envVariable);
+#endif // !__WXWINCE__/__WXWINCE__
}
// Given a full filename (with path), ensure that that file can
wxStrcat (tcp, wxT("}"));
wxStrcat (tcp, wxFileFunctionsBuffer);
}
+#else
+ wxUnusedVar(envname);
#endif
// Handle User's home (ignore root homes!)
// TODO ?
return NULL;
#elif defined(__WXWINCE__)
+ // TODO
+ wxUnusedVar(buf);
+ wxUnusedVar(sz);
return NULL;
#else
if ( !buf )
#ifdef __WIN32__
#ifdef __WXWINCE__
// No equivalent in WinCE
+ wxUnusedVar(d);
return false;
#else
return (bool)(SetCurrentDirectory(d) != 0);
return wxFILE_KIND_DISK;
#else
+ #define wxFILEKIND_STUB
(void)fd;
return wxFILE_KIND_DISK;
#endif
}
+wxFileKind wxGetFileKind(FILE *fp)
+{
+#ifndef wxFILEKIND_STUB
+ return wxGetFileKind(fileno(fp));
+#else
+ (void)fp;
+ return wxFILE_KIND_DISK;
+#endif
+}
+
#ifdef __VISUALC__
#pragma warning(default:4706) // assignment within conditional expression
#endif // VC++