Commit b7c57345 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Deal with ELF underscores on Solaris with Sun Studio.

Fixes Bugzilla #595.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403206
parent 5332650f
...@@ -46,7 +46,7 @@ void ConvertMMXp32_16RGB555(); ...@@ -46,7 +46,7 @@ void ConvertMMXp32_16RGB555();
/* Fix the underscore business with ELF compilers */ /* Fix the underscore business with ELF compilers */
#if defined(__ELF__) && defined(__GNUC__) #if (defined(__ELF__) && defined(__GNUC__)) || defined(__SUNPRO_C)
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
...@@ -74,7 +74,7 @@ extern int ConvertX86p16_32BGRA888_LUT_X86[512]; ...@@ -74,7 +74,7 @@ extern int ConvertX86p16_32BGRA888_LUT_X86[512];
/* Now fix up the ELF underscore problem */ /* Now fix up the ELF underscore problem */
#if defined(__ELF__) && defined(__GNUC__) #if (defined(__ELF__) && defined(__GNUC__)) || defined(__SUNPRO_C)
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment