summaryrefslogtreecommitdiffstats
path: root/lib/libc/compat-43/creat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/compat-43/creat.c')
-rw-r--r--lib/libc/compat-43/creat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/compat-43/creat.c b/lib/libc/compat-43/creat.c
index 3d17305..42759e7 100644
--- a/lib/libc/compat-43/creat.c
+++ b/lib/libc/compat-43/creat.c
@@ -51,4 +51,6 @@ __creat(path, mode)
return(_open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
}
+#ifndef _THREAD_SAFE
__weak_reference(__creat, creat);
+#endif
OpenPOWER on IntegriCloud