misc: only define _GNU_SOURCE if not defined

C++ compilers on Linux (g++, clang++) appear to always define this.
pull/13125/head
Jason Ish 4 months ago committed by Victor Julien
parent ff0d609a9f
commit 23eaa65185

@ -30,7 +30,10 @@
#define DBG_PERF
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#define __USE_GNU
#if defined(__clang_analyzer__)

Loading…
Cancel
Save