util: Disable u_time.c implementation for embedded.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 4 Feb 2010 14:38:14 +0000 (14:38 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 4 Feb 2010 14:39:30 +0000 (14:39 +0000)
This needs to go into OS module.

src/gallium/auxiliary/util/u_time.c

index b958a9863531d44c252c418290d2c6f8831409ac..806708b2dc8ab3870853142468e55927e99d0962 100644 (file)
@@ -35,6 +35,8 @@
 
 #include "pipe/p_config.h"
 
+#if !defined(PIPE_OS_EMBEDDED)
+
 #if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_APPLE) || defined(PIPE_OS_HAIKU)
 #include <sys/time.h>
 #elif defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY)
@@ -223,3 +225,5 @@ void util_time_sleep(unsigned usecs)
    Sleep((usecs + 999)/ 1000);
 }
 #endif
+
+#endif /* !PIPE_OS_EMBEDDED */