commit | 99b0fbbe6975bf2af1387f75d961ad84fb108276 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Mon Feb 24 16:08:38 2014 -0800 |
committer | Jason Evans <jasone@canonware.com> | Mon Feb 24 16:08:38 2014 -0800 |
tree | 5b9387647e2e6d7c142ed81a77addf5856dcf983 | |
parent | 302735f90ded144fe61d7d6049d6b30a4be0e104 [diff] |
Add workaround for missing 'restrict' keyword. Add a cpp #define that removes 'restrict' keyword usage unless the compiler definitely supports C99. As written, 'restrict' is only enabled if the compiler supports the -std=gnu99 option (e.g. gcc and llvm). Reported by Tobias Hieta.