diff options
author | marha <marha@users.sourceforge.net> | 2009-12-20 21:08:15 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-20 21:08:15 +0000 |
commit | d8432fdd4f13e9f9d1d44f5482faeb56562661a9 (patch) | |
tree | 10b8d598d3c821cdb25569d4bd750b7ad8cae269 /xorg-server/hw/xfree86/common/compiler.h | |
parent | d34fc70fab4607f70184206a592397c97c3e478e (diff) | |
download | vcxsrv-d8432fdd4f13e9f9d1d44f5482faeb56562661a9.tar.gz vcxsrv-d8432fdd4f13e9f9d1d44f5482faeb56562661a9.tar.bz2 vcxsrv-d8432fdd4f13e9f9d1d44f5482faeb56562661a9.zip |
Switched to xorg-server-1.7.99.2
Diffstat (limited to 'xorg-server/hw/xfree86/common/compiler.h')
-rw-r--r-- | xorg-server/hw/xfree86/common/compiler.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xorg-server/hw/xfree86/common/compiler.h b/xorg-server/hw/xfree86/common/compiler.h index dc5f157b0..ded71ee22 100644 --- a/xorg-server/hw/xfree86/common/compiler.h +++ b/xorg-server/hw/xfree86/common/compiler.h @@ -55,6 +55,20 @@ # define DO_PROTOTYPES #endif +/* Map Sun compiler platform defines to gcc-style used in the code */ +#if defined(__amd64) && !defined(__amd64__) +# define __amd64__ +#endif +#if defined(__i386) && !defined(__i386__) +# define __i386__ +#endif +#if defined(__sparc) && !defined(__sparc__) +# define __sparc__ +#endif +#if defined(__sparcv9) && !defined(__sparc64__) +# define __sparc64__ +#endif + #ifndef _X_EXPORT # include <X11/Xfuncproto.h> #endif |