We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa72433 commit 513e606Copy full SHA for 513e606
module/magic_enum.cppm
@@ -7,11 +7,11 @@ module;
7
8
export module magic_enum;
9
10
-#ifdef MAGIC_ENUM_USE_STD_MODULE
+#if defined(MAGIC_ENUM_USE_STD_MODULE)
11
import std;
12
13
extern "C++" {
14
-#ifdef __clang__
+#if defined(__clang__)
15
#pragma clang diagnostic push
16
#pragma clang diagnostic ignored "-Winclude-angled-in-module-purview"
17
#elif defined(_MSC_VER)
@@ -21,7 +21,7 @@ extern "C++" {
21
22
#include <magic_enum/magic_enum_all.hpp>
23
24
25
#pragma clang diagnostic pop
26
27
#pragma warning(pop)
0 commit comments