Mesa (master): util: Disable u_time.c implementation for embedded.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Feb 4 14:40:16 UTC 2010


Module: Mesa
Branch: master
Commit: f769ab0fa63754de317bafe2a7baf8fe401b961c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f769ab0fa63754de317bafe2a7baf8fe401b961c

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Feb  4 14:38:14 2010 +0000

util: Disable u_time.c implementation for embedded.

This needs to go into OS module.

---

 src/gallium/auxiliary/util/u_time.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_time.c b/src/gallium/auxiliary/util/u_time.c
index b958a98..806708b 100644
--- a/src/gallium/auxiliary/util/u_time.c
+++ b/src/gallium/auxiliary/util/u_time.c
@@ -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 */




More information about the mesa-commit mailing list