projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2f26c
)
mesa: separate some finite/pragma Watcom stuff
author
Brian Paul
<brianp@vmware.com>
Mon, 27 Jul 2009 21:09:56 +0000
(15:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 27 Jul 2009 21:10:00 +0000
(15:10 -0600)
src/mesa/main/compiler.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index
e79bbc2
..
9319505
100644
(file)
--- a/
src/mesa/main/compiler.h
+++ b/
src/mesa/main/compiler.h
@@
-110,10
+110,8
@@
extern "C" {
#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) && !defined(BUILD_FOR_SNAP)
# define __WIN32__
# define finite _finite
-#endif
-#if defined(__WATCOMC__)
+#elif defined(__WATCOMC__)
# define finite _finite
-# pragma disable_message(201) /* Disable unreachable code warnings */
#endif
@@
-135,6
+133,10
@@
extern "C" {
# endif
# endif
#endif
+#if defined(__WATCOMC__)
+# pragma disable_message(201) /* Disable unreachable code warnings */
+#endif
+
/**