mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 12:00:41 +02:00
util: Disable u_time.c implementation for embedded.
This needs to go into OS module.
This commit is contained in:
parent
d015dfb45a
commit
f769ab0fa6
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue