]> git.sesse.net Git - vlc/commitdiff
skins2: get correct header for _mkdir
authorRafaël Carré <funman@videolan.org>
Wed, 28 Sep 2011 21:48:02 +0000 (17:48 -0400)
committerRafaël Carré <funman@videolan.org>
Wed, 28 Sep 2011 21:48:02 +0000 (17:48 -0400)
mingw64 defines it in direct.h
mingw32 fetches the definition from unistd.h

modules/gui/skins2/src/theme_loader.cpp

index 546b15c46117566963bf7cefdded8e54c0933c85..3425f74628a4a5cc7c79d7c64e423e20665a5628 100644 (file)
@@ -38,7 +38,7 @@
 #endif
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
-#elif defined( WIN32 ) && !defined( UNDER_CE )
+#elif defined( _WIN64 )
 #   include <direct.h>
 #endif