From a66cd2a5f85b4dd352f5915986f147b3579e699a 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. --- trunk/src/nvcore/DefsGnucDarwin.h | 2 +- trunk/src/nvcore/DefsGnucLinux.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/nvcore/DefsGnucDarwin.h b/trunk/src/nvcore/DefsGnucDarwin.h index 9d27730..b228840 100644 --- a/trunk/src/nvcore/DefsGnucDarwin.h +++ b/trunk/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/trunk/src/nvcore/DefsGnucLinux.h b/trunk/src/nvcore/DefsGnucLinux.h index 6abdc67..6ecd123 100644 --- a/trunk/src/nvcore/DefsGnucLinux.h +++ b/trunk/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))