summaryrefslogtreecommitdiff
path: root/src/core/misc.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-12-09 15:20:59 -0300
committerdequis <dx@dxzone.com.ar>2015-12-09 15:20:59 -0300
commit96766b7f0530ca2e5b4d0fde68337f956e46eb0e (patch)
tree7ae6496d5d5b0b45d360036def59ba53d40922c1 /src/core/misc.c
parent544d5a8bba7e00f8b4a8433faea907abce27f557 (diff)
downloadirssi-96766b7f0530ca2e5b4d0fde68337f956e46eb0e.zip
Remove all WIN32 ifdefs (unifdef -UWIN32)
Just use cygwin. This looks like it wasn't enough to do anything useful, and I don't think anyone cares about supporting win32 the hard way.
Diffstat (limited to 'src/core/misc.c')
-rw-r--r--src/core/misc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/misc.c b/src/core/misc.c
index 490b5a8f..aaa470f5 100644
--- a/src/core/misc.c
+++ b/src/core/misc.c
@@ -430,11 +430,7 @@ int mkpath(const char *path, int mode)
dir = g_strndup(path, (int) (p-path));
if (stat(dir, &statbuf) != 0) {
-#ifndef WIN32
if (mkdir(dir, mode) == -1)
-#else
- if (_mkdir(dir) == -1)
-#endif
{
g_free(dir);
return -1;