mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
libretro-common: Fix redefinition warnings of _POSIX_C_SOURCE
Small change to fix redefinition of `_POSIX_C_SOURCE`.
This commit is contained in:
parent
6c2cc45628
commit
a49c03d1ce
@ -22,9 +22,11 @@
|
|||||||
|
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
#ifndef __sun__
|
#ifndef __sun__
|
||||||
|
#ifndef _POSIX_C_SOURCE
|
||||||
#define _POSIX_C_SOURCE 199309
|
#define _POSIX_C_SOURCE 199309
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user