diff options
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index 11c03c46d1..1b8b10a2d8 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c | |||
@@ -296,7 +296,11 @@ ecore_file_mksubdirs(const char *base, const char **subdirs) | |||
296 | EAPI Eina_Bool | 296 | EAPI Eina_Bool |
297 | ecore_file_rmdir(const char *dir) | 297 | ecore_file_rmdir(const char *dir) |
298 | { | 298 | { |
299 | #ifdef _WIN32 | ||
300 | if (RemoveDirectory(dir) < 0) return EINA_FALSE; | ||
301 | #else | ||
299 | if (rmdir(dir) < 0) return EINA_FALSE; | 302 | if (rmdir(dir) < 0) return EINA_FALSE; |
303 | #endif /* _WIN32 */ | ||
300 | return EINA_TRUE; | 304 | return EINA_TRUE; |
301 | } | 305 | } |
302 | 306 | ||