summaryrefslogtreecommitdiff
path: root/source/core/slang-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-common.h')
-rw-r--r--source/core/slang-common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/core/slang-common.h b/source/core/slang-common.h
index 8c84894ca..2952eccd2 100644
--- a/source/core/slang-common.h
+++ b/source/core/slang-common.h
@@ -1,7 +1,6 @@
-#ifndef SLANG_CORE_COMMON_H
-#define SLANG_CORE_COMMON_H
+#pragma once
-#include "../../include/slang.h"
+#include "slang.h"
#include <assert.h>
@@ -237,7 +236,6 @@ template<typename T> void slang_use_obj(T&) {}
#define SLANG_UNREFERENCED_PARAMETER(P) slang_use_obj(P)
#define SLANG_UNREFERENCED_VARIABLE(P) slang_use_obj(P)
-#endif
#if defined(SLANG_RT_DYNAMIC)
#if defined(_MSC_VER)