[libkeke_array.c] Define _GNU_SOURCE macro
GCC will not use non-standard GNU functions unless you define this macro.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#ifndef LIBKEKE_ARRAY
|
||||
#define LIBKEKE_ARRAY
|
||||
|
||||
// Required for qsort_r on Linux
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in New Issue
Block a user