File SimpleTimer_kfreebsd of Package cegui
Description: Allow compiling on kFreeBSD
Author: Olek Wojnar <olek-dev@wojnar.org>
Last-Update: 2016-08-21
--- a/cegui/src/SimpleTimer.cpp
+++ b/cegui/src/SimpleTimer.cpp
@@ -38,7 +38,7 @@
return timeGetTime() / 1000.0;
}
-#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__HAIKU__) || defined(__CYGWIN__) || defined(__MINGW32__)
+#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__HAIKU__) || defined(__CYGWIN__) || defined(__MINGW32__)
#include <sys/time.h>
double CEGUI::SimpleTimer::currentTime()
{