From 7098317c09fa7e9df9e347d4c679926268aa7c28 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 21 Feb 2013 12:00:57 +0100 Subject: [PATCH] Only define the restrict macro if it hasn't already been. --- libc/include/features.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/include/features.h b/libc/include/features.h index f1bf25bf..4e624c8c 100644 --- a/libc/include/features.h +++ b/libc/include/features.h @@ -59,7 +59,9 @@ #endif #endif +#ifndef restrict #define restrict +#endif /* TODO: Improve these declarations, perhaps like they are in glibc. */ #define __POSIX_NO_OBSOLETE