]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Define O_NOFOLLOW on platforms that do not have it
authorcypherpunks <cypherpunks@torproject.org>
Fri, 19 Feb 2016 12:45:36 +0000 (12:45 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 22 Feb 2016 20:28:24 +0000 (15:28 -0500)
Fixes #18339

src/common/util.h

index d05ffa7d10df205c58d1817b9da0cd8805e411cf..d42b5b2b0dd3c7ad6e48527a40be44fd188cadca 100644 (file)
@@ -29,6 +29,9 @@
 #ifndef O_TEXT
 #define O_TEXT 0
 #endif
+#ifndef O_NOFOLLOW
+#define O_NOFOLLOW 0
+#endif
 
 /* Replace assert() with a variant that sends failures to the log before
  * calling assert() normally.