summaryrefslogtreecommitdiff
path: root/AK/BitCast.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/BitCast.h')
-rw-r--r--AK/BitCast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/AK/BitCast.h b/AK/BitCast.h
index 06b7b11879..a893bb858b 100644
--- a/AK/BitCast.h
+++ b/AK/BitCast.h
@@ -6,6 +6,8 @@
#pragma once
+#include <AK/Platform.h>
+
namespace AK {
template<typename T, typename U>
@@ -24,4 +26,6 @@ template<typename T, typename U>
}
+#if USING_AK_GLOBALLY
using AK::bit_cast;
+#endif