From 14faa8e564f86a1ed98ad3640788d383656758bb Mon Sep 17 00:00:00 2001 From: castano Date: Tue, 5 Feb 2013 07:35:15 +0000 Subject: [PATCH] Fix linux/osx compiler errors. Fixes issue 168. --- src/nvcore/DefsGnucDarwin.h | 2 +- src/nvcore/DefsGnucLinux.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvcore/DefsGnucDarwin.h b/src/nvcore/DefsGnucDarwin.h index 9d27730..b228840 100644 --- a/src/nvcore/DefsGnucDarwin.h +++ b/src/nvcore/DefsGnucDarwin.h @@ -25,7 +25,7 @@ #endif #define NV_FASTCALL __attribute__((fastcall)) -#define NV_FORCEINLINE inline __attribute__((always_inline)) +#define NV_FORCEINLINE __attribute__((always_inline)) #define NV_DEPRECATED __attribute__((deprecated)) #if __GNUC__ > 2 diff --git a/src/nvcore/DefsGnucLinux.h b/src/nvcore/DefsGnucLinux.h index 6abdc67..6ecd123 100644 --- a/src/nvcore/DefsGnucLinux.h +++ b/src/nvcore/DefsGnucLinux.h @@ -25,7 +25,7 @@ #endif #define NV_FASTCALL __attribute__((fastcall)) -#define NV_FORCEINLINE __attribute__((always_inline)) +#define NV_FORCEINLINE inline __attribute__((always_inline)) #define NV_DEPRECATED __attribute__((deprecated))