aboutsummaryrefslogtreecommitdiff
path: root/nxt/nxt_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxt/nxt_unix.h')
-rw-r--r--nxt/nxt_unix.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/nxt/nxt_unix.h b/nxt/nxt_unix.h
new file mode 100644
index 00000000..bf45fd15
--- /dev/null
+++ b/nxt/nxt_unix.h
@@ -0,0 +1,23 @@
+
+/*
+ * Copyright (C) Dmitry Volyntsev
+ * Copyright (C) NGINX, Inc.
+ */
+
+
+#ifndef _NXT_UNIX_H_INCLUDED_
+#define _NXT_UNIX_H_INCLUDED_
+
+#if (NXT_LINUX)
+
+#ifdef _FORTIFY_SOURCE
+/*
+ * _FORTIFY_SOURCE
+ * does not allow to use "(void) write()";
+ */
+#undef _FORTIFY_SOURCE
+#endif
+
+#endif /* NXT_LINUX */
+
+#endif /* _NXT_UNIX_H_INCLUDED_ */