From c54c4f4c208d980aff98d0ddc5ca2d52c2622132 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 6 Dec 2005 10:47:06 +0000 Subject: [PATCH] _GNU_SOURCE can be already defined by compiler switches, avoid warnings. --- lib/lib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lib.h b/lib/lib.h index ddd03121..a5aef116 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -16,7 +16,9 @@ /* Tell libc we're going to use all extensions available */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif /* Ugly structure handling macros */ -- 2.39.2