Deal with ELF underscores on Solaris with Sun Studio.

Fixes Bugzilla #595.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2008-09-14 21:45:04 +00:00
parent bdabeb0777
commit 72335eba68
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ void ConvertMMXp32_16RGB555();
/* 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

View File

@@ -74,7 +74,7 @@ extern int ConvertX86p16_32BGRA888_LUT_X86[512];
/* Now fix up the ELF underscore problem */
#if defined(__ELF__) && defined(__GNUC__)
#if (defined(__ELF__) && defined(__GNUC__)) || defined(__SUNPRO_C)
#ifdef __cplusplus
extern "C" {
#endif