aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-08-29 05:59:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-08-29 05:59:23 +0300
commita94fdadfd58ce0f4f611911cec3c231f95fad818 (patch)
tree59b552051d19a0c6798808757bf20a26fd7a2452 /awk.h
parent4ca5bb8fb2fb588f1224c22d5f9d0f98d9f90fb9 (diff)
parentaf43bad53b2f05ba0d4403a59433f587a1e32b22 (diff)
downloadegawk-a94fdadfd58ce0f4f611911cec3c231f95fad818.tar.gz
egawk-a94fdadfd58ce0f4f611911cec3c231f95fad818.tar.bz2
egawk-a94fdadfd58ce0f4f611911cec3c231f95fad818.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/awk.h b/awk.h
index 2234abf8..edd9cb95 100644
--- a/awk.h
+++ b/awk.h
@@ -178,6 +178,10 @@ extern void *memset_ulong(void *dest, int val, unsigned long l);
#define memset memset_ulong
#endif
+#ifdef HAVE_FWRITE_UNLOCKED
+#define fwrite fwrite_unlocked
+#endif /* HAVE_FWRITE_UNLOCKED */
+
#if defined(__EMX__) || defined(__MINGW32__)
#include "nonposix.h"
#endif /* defined(__EMX__) || defined(__MINGW32__) */