summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-12-01 23:07:08 +0000
committerJose Fonseca <[email protected]>2015-12-02 07:51:04 +0000
commit56aff6bb4eafe35ba301f5d60027377abc4cfd9f (patch)
treeab4fb5d62248754462ebfc00e0197b66bec11817 /src/mesa/main/compiler.h
parent51564f04b77e6d29a888a4fbd83d96de062ac634 (diff)
Remove Sun CC specific code.
Reviewed-by: Matt Turner <[email protected]> Acked-by: Alan Coopersmith <[email protected]>
Diffstat (limited to 'src/mesa/main/compiler.h')
-rw-r--r--src/mesa/main/compiler.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 93b4e6f12dd..c5ee7412b62 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -47,20 +47,6 @@ extern "C" {
/**
- * Sun compilers define __i386 instead of the gcc-style __i386__
- */
-#ifdef __SUNPRO_C
-# if !defined(__i386__) && defined(__i386)
-# define __i386__
-# elif !defined(__amd64__) && defined(__amd64)
-# define __amd64__
-# elif !defined(__sparc__) && defined(__sparc)
-# define __sparc__
-# endif
-#endif
-
-
-/**
* Either define MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN, and CPU_TO_LE32.
* Do not use these unless absolutely necessary!
* Try to use a runtime test instead.