]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxchar.cpp
Switched loads of settings back on
[wxWidgets.git] / src / common / wxchar.cpp
index 9d07b1c3fe820fdef10e0973d17b8a0771e609bc..94b56cde9e2248055d475505a5a8df0964f65196 100644 (file)
@@ -1578,7 +1578,7 @@ WXDLLEXPORT wxChar * wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_pt
 // missing C RTL functions
 // ----------------------------------------------------------------------------
 
-#if wxNEED_STRDUP
+#ifdef wxNEED_STRDUP
 
 char *strdup(const char *s)
 {
@@ -1600,3 +1600,11 @@ void *calloc( size_t num, size_t size )
 
 #endif // __WXWINCE__ <= 211
 
+#ifdef __WXWINCE__
+
+int wxRemove(const wxChar *path)
+{
+    return ::DeleteFile(path) == 0;
+}
+
+#endif