aboutsummaryrefslogtreecommitdiff
path: root/nxt/nxt_unix.h
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2018-07-20 20:11:02 +0300
committerDmitry Volyntsev <xeioex@nginx.com>2018-07-20 20:11:02 +0300
commite6fed582c46154a99b78bf5176c740b6cf8f11f3 (patch)
tree6b7d878f89af47e6246c395b65f8f4d139feaf2e /nxt/nxt_unix.h
parent9c1006ea27e9b3b898886328b51b77d2a039150d (diff)
downloadnjs-e6fed582c46154a99b78bf5176c740b6cf8f11f3.tar.gz
njs-e6fed582c46154a99b78bf5176c740b6cf8f11f3.zip
Improved help desrcription of njs shell.
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_ */