From: cypherpunks Date: Fri, 19 Feb 2016 12:45:36 +0000 (+0000) Subject: Define O_NOFOLLOW on platforms that do not have it X-Git-Tag: tor-0.2.8.2-alpha~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e9950847c1035244b0c15c50276b06014286e6b;p=thirdparty%2Ftor.git Define O_NOFOLLOW on platforms that do not have it Fixes #18339 --- diff --git a/src/common/util.h b/src/common/util.h index d05ffa7d10..d42b5b2b0d 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -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.