hrev52951 adds 1 changeset to branch 'master'
old head: 52a61976d4915e59c8d7cfe97c5962798cb094a2
new head: d7b8d76a7862f9716c34b927f2abfacafbdd07c8
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=d7b8d76a7862+%5E52a61976d491
----------------------------------------------------------------------------
d7b8d76a7862: BSD headers: remove _BSD_SOURCE feature gate for sysexits.h
During the compilation of LLVM version 8, the build failed because it depends
on a constant in this file. In hrev49042 all BSD headers were feature-gated by
_BSD_SOURCE. This is not done (for this file) in glibc and (obviously) not in
BSD's libc.
Since this is not common practise, I would propose removing the feature gate
for this header file, as it would mean that we would have to upstream patches
for ports of other software that depends on the availability of these
constants.
Change-Id: I486f0c2e87eff489ce92d03589a6299ef1be6ca5
Reviewed-on: https://review.haiku-os.org/c/1144
Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>
[ Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev52951
Commit: d7b8d76a7862f9716c34b927f2abfacafbdd07c8
URL: https://git.haiku-os.org/haiku/commit/?id=d7b8d76a7862
Author: Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx>
Date: Sun Mar 3 20:42:17 2019 UTC
Committer: waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Sun Mar 3 20:49:19 2019 UTC
----------------------------------------------------------------------------
1 file changed, 6 deletions(-)
headers/compatibility/bsd/sysexits.h | 6 ------
----------------------------------------------------------------------------
diff --git a/headers/compatibility/bsd/sysexits.h
b/headers/compatibility/bsd/sysexits.h
index a6b34473f1..989a4b3617 100644
--- a/headers/compatibility/bsd/sysexits.h
+++ b/headers/compatibility/bsd/sysexits.h
@@ -35,9 +35,6 @@
#define _SYSEXITS_H_
-#ifdef _BSD_SOURCE
-
-
/*
* SYSEXITS.H -- Exit status codes for system programs.
*
@@ -118,7 +115,4 @@
#define EX__MAX 78 /* maximum listed value */
-#endif
-
-
#endif /* !_SYSEXITS_H_ */