From a12ae89f860229cbe5ba91f1f9cf17cc5a9ede31 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Thu, 13 Apr 2017 21:28:18 +0200
Subject: Assume that O_NOFOLLOW is always defined

---
 gmon/gmon.c | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'gmon/gmon.c')

diff --git a/gmon/gmon.c b/gmon/gmon.c
index e9988c06c4..f394a7870e 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -336,10 +336,6 @@ write_gmon (void)
     int fd = -1;
     char *env;
 
-#ifndef O_NOFOLLOW
-# define O_NOFOLLOW	0
-#endif
-
     env = getenv ("GMON_OUT_PREFIX");
     if (env != NULL && !__libc_enable_secure)
       {
-- 
cgit v1.2.3-65-gdbad