summaryrefslogtreecommitdiff
path: root/src/stubs/fatalerror.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-04-02 17:40:19 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-04-02 17:40:19 -0700
commit0fbb37ccc630ced42d6a973c81d947870cca7637 (patch)
treed4fc36c9f0e52780b67b0739588b0dc62d76f1e1 /src/stubs/fatalerror.c
parentcc824e4f2c9a53a00b36a6f83bf065c363027087 (diff)
Add #pragma weak for Sun cc where needed
Diffstat (limited to 'src/stubs/fatalerror.c')
-rw-r--r--src/stubs/fatalerror.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stubs/fatalerror.c b/src/stubs/fatalerror.c
index 295593e..1549ad3 100644
--- a/src/stubs/fatalerror.c
+++ b/src/stubs/fatalerror.c
@@ -3,6 +3,10 @@
#endif
#include "stubs.h"
+#ifdef __SUNPRO_C
+#pragma weak FatalError
+#endif
+
weak void
FatalError(const char *f, ...)
{