Merge pull request #210 from alanc/solaris

test: #define __EXTENSIONS__ on Solaris for strdup()
macos/v1.5.9
Emmanuele Bassi 5 years ago committed by GitHub
commit 7888347610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      test/egl_epoxy_api.c
  2. 4
      test/egl_has_extension_nocontext.c

@ -27,7 +27,11 @@
* Tests the Epoxy API using EGL.
*/
#ifdef __sun
#define __EXTENSIONS__
#else
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

@ -28,7 +28,11 @@
* no context bound would fail out in dispatch.
*/
#ifdef __sun
#define __EXTENSIONS__
#else
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Loading…
Cancel
Save