Define O_NOFOLLOW on platforms that do not have it

Fixes #18339
This commit is contained in:
cypherpunks
2016-02-19 12:45:36 +00:00
committed by Nick Mathewson
parent a508119169
commit 1e9950847c
+3
View 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.