clang support

This commit is contained in:
leitner 2009-10-27 16:33:00 +00:00
parent 5fd7bc834b
commit 6941446a7c

View File

@ -6,7 +6,7 @@
/* return 0 for range error / overflow, 1 for ok */ /* return 0 for range error / overflow, 1 for ok */
#if defined(__GNUC__) && defined(__OPTIMIZE__) #if defined(__GNUC__) && defined(__OPTIMIZE__) && !defined(__clang__)
#define __static extern #define __static extern
#else #else
#define __static static #define __static static