aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/portability.h')
-rw-r--r--lib/portability.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/portability.h b/lib/portability.h
index 2f2421d8..d58e5928 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -4,18 +4,6 @@
// in specific compiler, library, or OS versions, localize all that here
// and in portability.c
-// The tendency of gcc to produce stupid warnings continues with
-// warn_unused_result, which warns about things like ignoring the return code
-// of nice(2) (which is completely useless since -1 is a legitimate return
-// value on success and even the man page tells you to use errno instead).
-
-// This makes it stop.
-
-// Except on Android, where fortify is mandatory.
-#if !defined(__ANDROID__)
-#undef _FORTIFY_SOURCE
-#endif
-
// For musl
#define _ALL_SOURCE