[vlc-commits] skins2: get correct header for _mkdir
Rafaël Carré
git at videolan.org
Wed Sep 28 23:48:43 CEST 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Sep 28 17:48:02 2011 -0400| [3d5114236a915140cc14597da76dc512aa3cff4f] | committer: Rafaël Carré
skins2: get correct header for _mkdir
mingw64 defines it in direct.h
mingw32 fetches the definition from unistd.h
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d5114236a915140cc14597da76dc512aa3cff4f
---
modules/gui/skins2/src/theme_loader.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/skins2/src/theme_loader.cpp b/modules/gui/skins2/src/theme_loader.cpp
index 546b15c..3425f74 100644
--- a/modules/gui/skins2/src/theme_loader.cpp
+++ b/modules/gui/skins2/src/theme_loader.cpp
@@ -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
More information about the vlc-commits
mailing list