summaryrefslogtreecommitdiff
path: root/src/stubs/errorf.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/errorf.c
parentcc824e4f2c9a53a00b36a6f83bf065c363027087 (diff)
Add #pragma weak for Sun cc where needed
Diffstat (limited to 'src/stubs/errorf.c')
-rw-r--r--src/stubs/errorf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stubs/errorf.c b/src/stubs/errorf.c
index 28872e2..fd32965 100644
--- a/src/stubs/errorf.c
+++ b/src/stubs/errorf.c
@@ -3,6 +3,10 @@
#endif
#include "stubs.h"
+#ifdef __SUNPRO_C
+#pragma weak ErrorF
+#endif
+
weak void
ErrorF(const char *f, ...)
{