mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 17:50:56 +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…
Reference in New Issue
Block a user