[haiku-commits] haiku: hrev49071 - headers/compatibility/bsd

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 21 Apr 2015 01:35:47 +0200 (CEST)

hrev49071 adds 1 changeset to branch 'master'
old head: ae799603e7830f0a9085694245e0532b10c46a98
new head: b526d04a5b41b4106e0700b801dac6a30df05f23
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=b526d04a5b41+%5Eae799603e783

----------------------------------------------------------------------------

b526d04a5b41: paths.h: add _BSD_SOURCE guard back, also check for _GNU_SOURCE

So things (like m4) expecting paths.h as part of glibc will get
what they want with _GNU_SOURCE.

[ François Revol <revol@xxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49071
Commit: b526d04a5b41b4106e0700b801dac6a30df05f23
URL: http://cgit.haiku-os.org/haiku/commit/?id=b526d04a5b41
Author: François Revol <revol@xxxxxxx>
Date: Mon Apr 20 23:34:26 2015 UTC

----------------------------------------------------------------------------

1 file changed, 6 insertions(+)
headers/compatibility/bsd/paths.h | 6 ++++++

----------------------------------------------------------------------------

diff --git a/headers/compatibility/bsd/paths.h
b/headers/compatibility/bsd/paths.h
index eee6d73..dc62490 100644
--- a/headers/compatibility/bsd/paths.h
+++ b/headers/compatibility/bsd/paths.h
@@ -38,6 +38,9 @@
#define _PATHS_H_


+#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
+
+
#include <sys/cdefs.h>

/* Default search path. */
@@ -138,4 +141,7 @@ __END_DECLS
#endif /* RESCUE */


+#endif /* _BSD_SOURCE || _GNU_SOURCE */
+
+
#endif /* !_PATHS_H_ */


Other related posts:

  • » [haiku-commits] haiku: hrev49071 - headers/compatibility/bsd - revol