summaryrefslogtreecommitdiff
path: root/src/drm_fb.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-11 14:30:22 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-11 21:53:50 -0700
commit3fbf31290eefc459dcfee379d60d63cc3aef443c (patch)
treeb57b0c1487c40a10b406f1a25becdc57c199cdd1 /src/drm_fb.c
parent074353394ff369f34dea5d05d052556466904b08 (diff)
build: move -D_GNU_SOURCE to CFLAGS
drm_fb.c did this locally for asprintf() but since then rand_r and open_memstream have entered the picture as well... this hasn't been a problem on gnu/linux builds but let's just globally go _GNU_SOURCE for now. In mingw land I suspect open_memstream in particular is going to be a PITA and require replacement, judging from search results anyways
Diffstat (limited to 'src/drm_fb.c')
-rw-r--r--src/drm_fb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drm_fb.c b/src/drm_fb.c
index fe2fefd..7c0aadc 100644
--- a/src/drm_fb.c
+++ b/src/drm_fb.c
@@ -1,4 +1,3 @@
-#define _GNU_SOURCE /* for asprintf() */
#include <assert.h>
#include <fcntl.h>
#include <inttypes.h>
© All Rights Reserved