[Mesa-dev] [PATCH 2/3] gbm: remove define _DEFAULT_SOURCE

Emil Velikov emil.l.velikov at gmail.com
Sun May 1 12:48:11 UTC 2016


The build systems already add this as applicable. There's no need to
have this in the source file.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gbm/main/gbm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index a8da082..712100f 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -25,8 +25,6 @@
  *    Benjamin Franzke <benjaminfranzke at googlemail.com>
  */
 
-#define _DEFAULT_SOURCE
-
 #include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
-- 
2.8.0



More information about the mesa-dev mailing list