summaryrefslogtreecommitdiffstats
path: root/prelude/slang-cpp-types.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-08 18:09:13 -0800
committerGitHub <noreply@github.com>2024-03-08 18:09:13 -0800
commit5074ee7c8a7f154273ed26815a8018df27dc03bb (patch)
tree9418fab849f254291172068049c8c97955e75cf0 /prelude/slang-cpp-types.h
parent0629b22bf09ae6b3c3689c5f98492df7577bf0d2 (diff)
Improve cpp prelude. (#3725)
Diffstat (limited to 'prelude/slang-cpp-types.h')
-rw-r--r--prelude/slang-cpp-types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/prelude/slang-cpp-types.h b/prelude/slang-cpp-types.h
index ac66ad9f3..74a750b63 100644
--- a/prelude/slang-cpp-types.h
+++ b/prelude/slang-cpp-types.h
@@ -5,6 +5,9 @@
namespace SLANG_PRELUDE_NAMESPACE {
#endif
+#ifndef SLANG_FORCE_INLINE
+# define SLANG_FORCE_INLINE inline
+#endif
#include "slang-cpp-types-core.h"