@@ -240,4 +240,14 @@ struct is_pod {
T(T&&) = delete; \
T& operator=(T&&) = delete;
+inline const char* kPlatformStrings[] = {
+ "win32", // 0
+ "emscripten", // 1
+ "ios", // 2
+ "darwin", // 3
+ "android", // 4
+ "linux", // 5
+ "unknown" // 6
+};
+
} // namespace pkpy
@@ -1,15 +1,5 @@
#pragma once
-const char* kPlatformStrings[] = {
- "win32", // 0
- "emscripten", // 1
- "ios", // 2
- "darwin", // 3
- "android", // 4
- "linux", // 5
- "unknown" // 6
-};
-
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
//define something for Windows (32-bit and 64-bit, this part is common)
#define PK_EXPORT __declspec(dllexport)