Fix issue 186. Confirmed it works on gcc and clang.

This commit is contained in:
castano 2013-02-05 18:35:38 +00:00
parent a66cd2a5f8
commit af6eb038ac

View File

@ -25,7 +25,7 @@
#endif #endif
#define NV_FASTCALL __attribute__((fastcall)) #define NV_FASTCALL __attribute__((fastcall))
#define NV_FORCEINLINE __attribute__((always_inline)) #define NV_FORCEINLINE __attribute__((always_inline)) inline
#define NV_DEPRECATED __attribute__((deprecated)) #define NV_DEPRECATED __attribute__((deprecated))
#if __GNUC__ > 2 #if __GNUC__ > 2