From 26d37e006a15be31bf2a18d86af4c23a12ddc044 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 5 Apr 2016 17:52:23 +0200 Subject: [PATCH] (libretro-common) This should allow rthreads.c to compile with -std=c99 --- libretro-common/rthreads/rthreads.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretro-common/rthreads/rthreads.c b/libretro-common/rthreads/rthreads.c index 8221c9abfd..7d6767cd0d 100644 --- a/libretro-common/rthreads/rthreads.c +++ b/libretro-common/rthreads/rthreads.c @@ -20,6 +20,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef __unix__ +#define _POSIX_C_SOURCE 199309 +#endif + #include #include