diff options
author | Brian Paul <brianp@vmware.com> | 2009-07-27 15:09:56 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-07-27 15:10:00 -0600 |
commit | 0ad9eba333bd80cf83f728390c8cd6c573ed446d (patch) | |
tree | 9e62b2cbb9848fdc16a6ef8212afdd03f4071a6e /src/mesa | |
parent | 7e2f26cbbf1142951ae0c0c1b732e8799f8cdbc1 (diff) |
mesa: separate some finite/pragma Watcom stuff
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/compiler.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index e79bbc2ac5..9319505a75 100644 --- 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 + /** |