Browse Source

clang support

master
Felix von Leitner 12 years ago
parent
commit
bb6b70074b
  1. 2
      rangecheck.h

2
rangecheck.h

@ -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

Loading…
Cancel
Save