]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Remove redefinition of _GNU_SOURCE and __USE_GNU
authorTakashi Iwai <tiwai@suse.de>
Sun, 8 Nov 2009 08:28:07 +0000 (09:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 Nov 2009 08:28:07 +0000 (09:28 +0100)
Now _GNU_SOURCE is already defined globally in configure.in.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/hcontrol.c
src/dlmisc.c
src/timer/timer_hw.c

index 1bfc0157686547b9a3ab53910650c5a50b5f1cbe..8ffc434fb3066f5827fcf89129dc2ee251c00fc0 100644 (file)
@@ -48,9 +48,6 @@ to reduce overhead accessing the real controls in kernel drivers.
 #include <string.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
-#ifndef DOC_HIDDEN
-#define __USE_GNU
-#endif
 #include "control_local.h"
 #ifdef HAVE_LIBPTHREAD
 #include <pthread.h>
index 3cca0f082e7be202725f8a0dc467948f9ea805bf..a0d62d38dcee0d830da70bca4af371cbaf51dc06 100644 (file)
@@ -27,7 +27,6 @@
  *
  */
 
-#define _GNU_SOURCE
 #include "list.h"
 #include "local.h"
 
index 25f3bab986d762afafb5aa2601a5d493ab93bf63..2fae75e57dd88a3ade0fd560cb406facf365f3b5 100644 (file)
@@ -23,7 +23,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#define __USE_GNU
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include "timer_local.h"