Permalink
Browse files

[droid] fix win32 compile

  • Loading branch information...
1 parent 345216c commit cbff246d5e51e9616b375d4c9b527155dec53847 Cory Fields committed Aug 6, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 xbmc/cores/DllLoader/exports/emu_msvcrt.cpp
View
6 xbmc/cores/DllLoader/exports/emu_msvcrt.cpp
@@ -73,7 +73,7 @@
#endif
#if defined(TARGET_ANDROID)
#include "android/loader/AndroidDyload.h"
-#else
+#elif !defined(_WIN32)
#include <dlfcn.h>
#endif
using namespace std;
@@ -462,8 +462,10 @@ extern "C"
#if defined(TARGET_ANDROID)
CAndroidDyload temp;
return temp.Open(filename);
-#else
+#elif !defined(_WIN32)
return dlopen(filename, flag);
+#else
+ return;
#endif
}

0 comments on commit cbff246

Please sign in to comment.