mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 12:40:07 +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__
|
||||
#ifndef __sun__
|
||||
#ifndef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 199309
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user