summaryrefslogtreecommitdiff
path: root/lib/eprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eprintf.c')
-rw-r--r--lib/eprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/eprintf.c b/lib/eprintf.c
index b07d624b50f9d..3626dbf8b0c4a 100644
--- a/lib/eprintf.c
+++ b/lib/eprintf.c
@@ -22,7 +22,9 @@
* It should never be exported from a dylib, so it is marked
* visibility hidden.
*/
+#ifndef _WIN32
__attribute__((visibility("hidden")))
+#endif
void __eprintf(const char* format, const char* assertion_expression,
const char* line, const char* file)
{