From f769ab0fa63754de317bafe2a7baf8fe401b961c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 4 Feb 2010 14:38:14 +0000 Subject: [PATCH] util: Disable u_time.c implementation for embedded. This needs to go into OS module. --- src/gallium/auxiliary/util/u_time.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/auxiliary/util/u_time.c b/src/gallium/auxiliary/util/u_time.c index b958a986353..806708b2dc8 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 #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 */ -- 2.30.2