Mercurial > sdl-ios-xcode
diff src/hermes/HeadMMX.h @ 4152:39b9405d3cb6 SDL-1.2
Deal with ELF underscores on Solaris with Sun Studio.
Fixes Bugzilla #595.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 14 Sep 2008 21:45:04 +0000 |
parents | d910939febfa |
children |
line wrap: on
line diff
--- a/src/hermes/HeadMMX.h Mon Sep 08 07:33:05 2008 +0000 +++ b/src/hermes/HeadMMX.h Sun Sep 14 21:45:04 2008 +0000 @@ -46,7 +46,7 @@ /* Fix the underscore business with ELF compilers */ -#if defined(__ELF__) && defined(__GNUC__) +#if (defined(__ELF__) && defined(__GNUC__)) || defined(__SUNPRO_C) #ifdef __cplusplus extern "C" { #endif