summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-02-04 14:37:30 +0000
committerJosé Fonseca <[email protected]>2010-02-04 14:39:30 +0000
commit47a080df15f5df1cfe72b83ccc1629d993b2a3c0 (patch)
tree6a9915e68dd135d867ddef73d3fabfa7753efa7f /src/gallium/include/pipe
parent9cd2abdf8b7978d8a903d4aee9e2072a0c87e9ad (diff)
gallium: Don't try to auto-detect the OS when embedded os is already pre-defined.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index 064605a4a05..c5928dde471 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -115,8 +115,10 @@
#endif
+#if !defined(PIPE_OS_EMBEDDED)
+
/*
- * Operating system family.
+ * Auto-detect the operating system family.
*
* See subsystem below for a more fine-grained distinction.
*/
@@ -164,7 +166,7 @@
#endif
/*
- * Subsystem.
+ * Try to auto-detect the subsystem.
*
* NOTE: There is no way to auto-detect most of these.
*/
@@ -191,5 +193,7 @@
#endif
#endif /* PIPE_OS_WINDOWS */
+#endif /* !PIPE_OS_EMBEDDED */
+
#endif /* P_CONFIG_H_ */