Skip to content

Commit

Permalink
Deal with ELF underscores on Solaris with Sun Studio.
Browse files Browse the repository at this point in the history
Fixes Bugzilla #595.
  • Loading branch information
icculus committed Sep 14, 2008
1 parent c43c124 commit 1001c2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hermes/HeadMMX.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/hermes/HeadX86.h
Expand Up @@ -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
Expand Down

0 comments on commit 1001c2d

Please sign in to comment.