gallium: Autodetect WINCE.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 27 May 2008 16:24:26 +0000 (01:24 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 27 May 2008 16:24:26 +0000 (01:24 +0900)
src/gallium/include/pipe/p_config.h

index 5c030bdfff34dfd314aa952ca37ba60266de9b24..6ba211a1fcc5ffb0cb97af490dfe8a4b19a7e14e 100644 (file)
 #endif
 
 #if defined(PIPE_OS_WINDOWS)
+#ifndef _WIN32_WCE
 #if !defined(PIPE_SUBSYSTEM_USER) && !defined(PIPE_SUBSYSTEM_KERNEL)
 #error Neither PIPE_SUBSYSTEM_USER or PIPE_SUBSYSTEM_KERNEL defined.
 #endif
 #if 0 /* FIXME */
 #define PIPE_SUBSYSTEM_WINDOWS_MINIPORT
 #endif
-#if 0 /* FIXME */
-#define PIPE_SUBSYSTEM_WINDOWS_CE
-#endif
 #if defined(PIPE_SUBSYSTEM_USER)
 #define PIPE_SUBSYSTEM_WINDOWS_USER
 #endif
+#else /* _WIN32_WCE */
+#define PIPE_SUBSYSTEM_WINDOWS_CE
+#endif /* _WIN32_WCE */
 #endif /* PIPE_OS_WINDOWS */