Remove nvcore.h from nvtt.h

This commit is contained in:
castano 2008-01-07 19:08:17 +00:00
parent 33c09ae591
commit 9d96f449bf

View File

@ -24,23 +24,30 @@
#ifndef NV_TT_H #ifndef NV_TT_H
#define NV_TT_H #define NV_TT_H
#include <nvcore/nvcore.h>
// Function linkage // Function linkage
#if NVTT_SHARED #if NVTT_SHARED
#ifdef NVTT_EXPORTS
#define NVTT_API DLL_EXPORT #if defined _WIN32 || defined WIN32 || defined __NT__ || defined __WIN32__ || defined __MINGW32__
#define NVTT_CLASS DLL_EXPORT_CLASS # ifdef NVTT_EXPORTS
#else # define NVTT_API __declspec(dllexport)
#define NVTT_API DLL_IMPORT # else
#define NVTT_CLASS DLL_IMPORT # define NVTT_API __declspec(dllimport)
#endif # endif
#else
#define NVTT_API
#define NVTT_CLASS
#endif #endif
#define NVTT_DEPRECATED NVTT_API /*NV_DEPRECATED*/ #if defined __GNUC__ >= 4
# ifdef NVTT_EXPORTS
# define NVTT_API __attribute__((visibility("default")))
# endif
#endif
#endif // NVTT_SHARED
#if !defined NVTT_API
# define NVTT_API
#endif
#define NVTT_DEPRECATED NVTT_API
// Public interface. // Public interface.