From e65ad7c6d8055d7fa9dc0fd9e7ed36826b71f706 Mon Sep 17 00:00:00 2001 From: kwyxz Date: Thu, 11 Jan 2018 14:50:07 -0800 Subject: [PATCH] Solaris 11 does not like this POSIX define --- libretro-common/rthreads/rthreads.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro-common/rthreads/rthreads.c b/libretro-common/rthreads/rthreads.c index ae52cc57a1..a49c485242 100644 --- a/libretro-common/rthreads/rthreads.c +++ b/libretro-common/rthreads/rthreads.c @@ -21,8 +21,10 @@ */ #ifdef __unix__ +#ifndef __sun__ #define _POSIX_C_SOURCE 199309 #endif +#endif #include