aboutsummaryrefslogtreecommitdiff
blob: 538dc9ec9ea78d7fc7fb20a371fe3b03bdc15366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Remove redundant _BSD_SOURCE macro causing warnings with glibc 2.20.

--- emacs-23.4-orig/src/s/gnu-linux.h
+++ emacs-23.4/src/s/gnu-linux.h
@@ -210,10 +210,6 @@
 /* alane@wozzle.linet.org says that -lipc is not a separate library,
    since libc-4.4.1.  So -lipc was deleted.  */
 #define LIBS_SYSTEM
-/* _BSD_SOURCE is redundant, at least in glibc2, since we define
-   _GNU_SOURCE.  Left in in case it's relevant to libc5 systems and
-   anyone's still using Emacs on those.  --fx 2002-12-14  */
-#define C_SWITCH_SYSTEM -D_BSD_SOURCE
 
 /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed.  */
 #define LIB_MOTIF -lXm -lXpm