Just ignore the restrict keyword fully.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-01-08 01:59:22 +01:00
parent 8eebe18922
commit 809bedd32b
1 changed files with 2 additions and 1 deletions

View File

@ -29,12 +29,13 @@
#ifdef __cplusplus #ifdef __cplusplus
#define __BEGIN_DECLS extern "C" { #define __BEGIN_DECLS extern "C" {
#define __END_DECLS } #define __END_DECLS }
#define restrict
#else #else
#define __BEGIN_DECLS #define __BEGIN_DECLS
#define __END_DECLS #define __END_DECLS
#endif #endif
#define restrict
#define __POSIX_NO_OBSOLETE #define __POSIX_NO_OBSOLETE
#ifdef __POSIX_NO_OBSOLETE #ifdef __POSIX_NO_OBSOLETE