Added check for gcc
git-svn-id: svn://svn.cc65.org/cc65/trunk@3590 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
6871cc6c57
commit
ddddb2acb5
1 changed files with 6 additions and 2 deletions
|
@ -38,8 +38,12 @@
|
|||
|
||||
|
||||
|
||||
/* If we have stdint.h, include it, otherwise try some quesswork on types */
|
||||
#if __STDC_VERSION__ >= 199901
|
||||
/* If we have stdint.h, include it, otherwise try some quesswork on types.
|
||||
* gcc doesn't define __STDC_VERSION__ without special flags, so check for
|
||||
* gcc explicitly. Undefined symbols are replaced by zero, so a check for
|
||||
* defined(__GNUC__) is not necessary.
|
||||
*/
|
||||
#if (__STDC_VERSION__ >= 199901) || (__GNUC__ >= 3)
|
||||
#include <stdint.h>
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue