diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-19 11:42:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-19 11:42:58 +0200 |
commit | 6640f397f15b4179a7283b27c060d3f4f7c9917a (patch) | |
tree | 253f8d6f1b38ec07eade7e249472500174324699 /thirdparty/thekla_atlas/nvcore/DefsGnucLinux.h | |
parent | 1b3ea697c5dcbbb2feb0f96204de257532edaf0c (diff) |
Drop unused thekla_atlas dependency
Since f12cb82 @reduz dropped the use of the thirdparty thekla_atlas
library, which is replaced by xatlas.
Fixes #28180.
Fixes #28182.
Diffstat (limited to 'thirdparty/thekla_atlas/nvcore/DefsGnucLinux.h')
-rw-r--r-- | thirdparty/thekla_atlas/nvcore/DefsGnucLinux.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/thirdparty/thekla_atlas/nvcore/DefsGnucLinux.h b/thirdparty/thekla_atlas/nvcore/DefsGnucLinux.h deleted file mode 100644 index 2126d866f5..0000000000 --- a/thirdparty/thekla_atlas/nvcore/DefsGnucLinux.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef NV_CORE_H -#error "Do not include this file directly." -#endif - -#include <stdint.h> // uint8_t, int8_t, ... uintptr_t -#include <stddef.h> // operator new, size_t, NULL - -// Function linkage -#define DLL_IMPORT -#if __GNUC__ >= 4 -# define DLL_EXPORT __attribute__((visibility("default"))) -# define DLL_EXPORT_CLASS DLL_EXPORT -#else -# define DLL_EXPORT -# define DLL_EXPORT_CLASS -#endif - -// Function calling modes -#if NV_CPU_X86 -# define NV_CDECL __attribute__((cdecl)) -# define NV_STDCALL __attribute__((stdcall)) -#else -# define NV_CDECL -# define NV_STDCALL -#endif - -#define NV_FASTCALL __attribute__((fastcall)) -//#if __GNUC__ > 3 -// It seems that GCC does not assume always_inline implies inline. I think this depends on the GCC version :( -#define NV_FORCEINLINE inline __attribute__((always_inline)) -//#else -// Some compilers complain that inline and always_inline are redundant. -//#define NV_FORCEINLINE __attribute__((always_inline)) -//#endif -#define NV_DEPRECATED __attribute__((deprecated)) -#define NV_THREAD_LOCAL __thread - -#if __GNUC__ > 2 -#define NV_PURE __attribute__((pure)) -#define NV_CONST __attribute__((const)) -#else -#define NV_PURE -#define NV_CONST -#endif - -#define NV_NOINLINE __attribute__((noinline)) - -// Define __FUNC__ properly. -#if __STDC_VERSION__ < 199901L -# if __GNUC__ >= 2 -# define __FUNC__ __PRETTY_FUNCTION__ // __FUNCTION__ -# else -# define __FUNC__ "<unknown>" -# endif -#else -# define __FUNC__ __PRETTY_FUNCTION__ -#endif - -#define restrict __restrict__ |