]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/cube/cube.cpp
added missing methods/removed duplicated base methods
[wxWidgets.git] / samples / opengl / cube / cube.cpp
index 75dde17d4e38004988d7cc07c1cd5ef7229c9351..a92f940d292dc0edac4f60f7f76d6a2d1b24042c 100644 (file)
 #include "cube.h"
 
 #ifndef __WXMSW__     // for wxStopWatch, see remark below
-#include <sys/time.h>
-#include <sys/unistd.h>
+  #if defined(__WXMAC__) && !defined(__DARWIN__)
+    #include <utime.h>
+    #include <unistd.h>
+  #else
+    #include <sys/time.h>
+    #include <sys/unistd.h>
+  #endif
 #else
 #include <sys/timeb.h>
 #endif