perf tools: Remove unused _ALL_SOURCE define
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: fd25bf8b8c577aef8c0156eddaf63f3e862c659c Gitweb: http://git.kernel.org/tip/fd25bf8b8c577aef8c0156eddaf63f3e862c659c Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 20 Jun 2017 12:30:07 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 20 Jun 2017 12:30:07 -0300
perf tools: Remove unused _ALL_SOURCE define
Curious as to what this was for I looked at /usr/include/ and only some python headers define this, and it ends up being to enable "extensions" on some old OSes:
/* Enable extensions on AIX 3, Interix */
I guess we can remove this one safely.
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/util.h | 1 - 1 file changed, 1 deletion(-)
tools/perf/util/util.h +0 -1
@@ -1,7 +1,6 @@#ifndef GIT_COMPAT_UTIL_H #define GIT_COMPAT_UTIL_H -#define _ALL_SOURCE 1#define _BSD_SOURCE 1/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */ #define _DEFAULT_SOURCE 1