libretro-common: Fix redefinition warnings of _POSIX_C_SOURCE

Small change to fix redefinition of `_POSIX_C_SOURCE`.
This commit is contained in:
Rob Loach 2023-09-28 19:01:17 -04:00 committed by GitHub
parent 6c2cc45628
commit a49c03d1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>