SOIL C++
C++ Unified Device Interface
constants.h
Go to the documentation of this file.
1
6#pragma once
7#ifdef _WIN32
8# pragma warning(disable: 4251)
9# pragma warning(disable: 4275)
10# ifdef _WINDLL
11# define DLL __declspec(dllexport)
12# else
13# define DLL __declspec(dllimport)
14# endif
15#elif defined(__unix__)
16# define DLL __attribute__((visibility("default")))
17#endif
18
19#ifdef _WIN32
20#include <SDKDDKVer.h>
21#endif