Only define the restrict macro if it hasn't already been.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-02-21 12:00:57 +01:00
parent 7b21a9eabd
commit 7098317c09
1 changed files with 2 additions and 0 deletions

View File

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