diff options
| author | Yong He <yonghe@outlook.com> | 2021-04-16 10:34:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-16 10:34:26 -0700 |
| commit | 79e92395f8ce3d92c446e3bb3250d19ce33decd5 (patch) | |
| tree | 2ac277fa299200da72cf03a2b5b96338f66aee5d /tools/platform/window.h | |
| parent | bad484d838590d0a2aaf1b5b8ac820634af2decb (diff) | |
Update `model-viewer` example and fixing compiler bugs. (#1795)
Diffstat (limited to 'tools/platform/window.h')
| -rw-r--r-- | tools/platform/window.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/tools/platform/window.h b/tools/platform/window.h index 65e0508b6..f80e21302 100644 --- a/tools/platform/window.h +++ b/tools/platform/window.h @@ -5,24 +5,7 @@ #include "source/core/slang-basic.h" #include "source/core/slang-func-ptr.h" -#if defined(SLANG_PLATFORM_DYNAMIC) -# if defined(_MSC_VER) -# ifdef SLANG_PLATFORM_DYNAMIC_EXPORT -# define SLANG_PLATFORM_API SLANG_DLL_EXPORT -# else -# define SLANG_PLATFORM_API __declspec(dllimport) -# endif -# else -// TODO: need to consider compiler capabilities -//# ifdef SLANG_DYNAMIC_EXPORT -# define SLANG_PLATFORM_API SLANG_DLL_EXPORT -//# endif -# endif -#endif - -#ifndef SLANG_PLATFORM_API -# define SLANG_PLATFORM_API -#endif +#include "platform-api.h" namespace platform { |
