diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stubs/stubs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stubs/stubs.h b/src/stubs/stubs.h index c721bbd..819d35e 100644 --- a/src/stubs/stubs.h +++ b/src/stubs/stubs.h @@ -16,8 +16,10 @@ #define weak __attribute__((weak)) #else #define weak +#ifndef __SUNPRO_C /* Sun compilers use #pragma weak in .c files instead */ #define NO_WEAK_SYMBOLS #endif +#endif /* This is really just a hack for now... __APPLE__ really should be using * the weak symbols route above, but it's causing an as-yet unresolved issue, |