clang support

master
Felix von Leitner 2009-10-27 16:33:00 +00:00
parent 387be9fe4f
commit bb6b70074b
1 changed files with 1 additions and 1 deletions

View File

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