Skip to content

Commit fd25bf8

Browse files
committed
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 <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-omnundlxo2brs552bdl6m0j1@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 44b58e0 commit fd25bf8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎tools/perf/util/util.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef GIT_COMPAT_UTIL_H
22
#define GIT_COMPAT_UTIL_H
33

4-
#define _ALL_SOURCE 1
54
#define _BSD_SOURCE 1
65
/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */
76
#define _DEFAULT_SOURCE 1

0 commit comments

Comments
 (0)