summaryrefslogtreecommitdiffstats
path: root/tools/platform/platform-api.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 14:49:26 +0800
committerGitHub <noreply@github.com>2024-10-29 14:49:26 +0800
commitf65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch)
treeea1d61342cd29368e19135000ec2948813096205 /tools/platform/platform-api.h
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'tools/platform/platform-api.h')
-rw-r--r--tools/platform/platform-api.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/platform/platform-api.h b/tools/platform/platform-api.h
index b04e5ffce..1b95e677c 100644
--- a/tools/platform/platform-api.h
+++ b/tools/platform/platform-api.h
@@ -2,22 +2,22 @@
#define SLANG_PLATFORM_API_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
+#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
+// # ifdef SLANG_DYNAMIC_EXPORT
+#define SLANG_PLATFORM_API SLANG_DLL_EXPORT
+// # endif
+#endif
#endif
#ifndef SLANG_PLATFORM_API
-# define SLANG_PLATFORM_API
+#define SLANG_PLATFORM_API
#endif
#endif