mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Deal with ELF underscores on Solaris with Sun Studio.
Fixes Bugzilla #595. --HG-- branch : SDL-1.2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user