Browse Source

Update ProcessUtils.cpp

Huy Nguyen 8 years ago
parent
commit
c88c5e6779
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/Core/ProcessUtils.cpp

+ 1 - 1
Source/Urho3D/Core/ProcessUtils.cpp

@@ -50,7 +50,7 @@
 #include <ntdef.h> 
 #include <ntdef.h> 
 #else 
 #else 
 #endif 
 #endif 
-#elif defined(__linux__)
+#elif defined(__linux__) && !defined(__APPLE__) && !defined(__ANDROID__) 
 #include <pwd.h> 
 #include <pwd.h> 
 #include <unistd.h>
 #include <unistd.h>
 #include <sys/sysinfo.h>
 #include <sys/sysinfo.h>