Merge pull request #182 from anholt/issue-181

Define _GNU_SOURCE for strdup()
macos/v1.5.9
Emmanuele Bassi 7 years ago committed by GitHub
commit 49bec45b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      test/egl_epoxy_api.c
  2. 1
      test/egl_has_extension_nocontext.c

@ -27,6 +27,7 @@
* Tests the Epoxy API using EGL. * Tests the Epoxy API using EGL.
*/ */
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>

@ -28,6 +28,7 @@
* no context bound would fail out in dispatch. * no context bound would fail out in dispatch.
*/ */
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>

Loading…
Cancel
Save