projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/master' into pipe-video
[mesa.git]
/
src
/
gallium
/
include
/
pipe
/
p_config.h
diff --git
a/src/gallium/include/pipe/p_config.h
b/src/gallium/include/pipe/p_config.h
index 064605a4a059189973751f9780aefe64575eae0d..74a1fa297812c277d4f46c3b828b79b2fe4b7de7 100644
(file)
--- a/
src/gallium/include/pipe/p_config.h
+++ b/
src/gallium/include/pipe/p_config.h
@@
-92,6
+92,11
@@
#else
#define PIPE_ARCH_SSE
#endif
#else
#define PIPE_ARCH_SSE
#endif
+#if defined(PIPE_CC_GCC) && !defined(__SSSE3__)
+/* #warning SSE3 support requires -msse3 compiler options */
+#else
+#define PIPE_ARCH_SSSE3
+#endif
#endif
#if defined(__PPC__)
#endif
#if defined(__PPC__)
@@
-115,8
+120,10
@@
#endif
#endif
+#if !defined(PIPE_OS_EMBEDDED)
+
/*
/*
- *
O
perating system family.
+ *
Auto-detect the o
perating system family.
*
* See subsystem below for a more fine-grained distinction.
*/
*
* See subsystem below for a more fine-grained distinction.
*/
@@
-144,6
+151,11
@@
#define PIPE_OS_UNIX
#endif
#define PIPE_OS_UNIX
#endif
+#if defined(__GNU__)
+#define PIPE_OS_HURD
+#define PIPE_OS_UNIX
+#endif
+
#if defined(__sun)
#define PIPE_OS_SOLARIS
#define PIPE_OS_UNIX
#if defined(__sun)
#define PIPE_OS_SOLARIS
#define PIPE_OS_UNIX
@@
-163,8
+175,13
@@
#define PIPE_OS_UNIX
#endif
#define PIPE_OS_UNIX
#endif
+#if defined(__CYGWIN__)
+#define PIPE_OS_CYGWIN
+#define PIPE_OS_UNIX
+#endif
+
/*
/*
- *
S
ubsystem.
+ *
Try to auto-detect the s
ubsystem.
*
* NOTE: There is no way to auto-detect most of these.
*/
*
* NOTE: There is no way to auto-detect most of these.
*/
@@
-191,5
+208,7
@@
#endif
#endif /* PIPE_OS_WINDOWS */
#endif
#endif /* PIPE_OS_WINDOWS */
+#endif /* !PIPE_OS_EMBEDDED */
+
#endif /* P_CONFIG_H_ */
#endif /* P_CONFIG_H_ */