summaryrefslogtreecommitdiff
path: root/src/internal/stdio_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/stdio_impl.h')
-rw-r--r--src/internal/stdio_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h
index 80646f8c..e9045f27 100644
--- a/src/internal/stdio_impl.h
+++ b/src/internal/stdio_impl.h
@@ -24,6 +24,7 @@
#define UNGET 8
+#define FFINALLOCK(f) ((f)->lock>=0 ? __lockfile((f)) : 0)
#define FLOCK(f) int __need_unlock = ((f)->lock>=0 ? __lockfile((f)) : 0)
#define FUNLOCK(f) if (__need_unlock) __unlockfile((f)); else