Fix linux/osx compiler errors. Fixes issue 168.

This commit is contained in:
castano 2013-02-05 07:35:15 +00:00
parent 2f12bfdb41
commit 14faa8e564
2 changed files with 2 additions and 2 deletions

View File

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

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 inline __attribute__((always_inline))
#define NV_DEPRECATED __attribute__((deprecated)) #define NV_DEPRECATED __attribute__((deprecated))