summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/uwp/detect.py2
-rw-r--r--platform/uwp/thread_uwp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/uwp/detect.py b/platform/uwp/detect.py
index 85d6d54a70..a78a7fec78 100644
--- a/platform/uwp/detect.py
+++ b/platform/uwp/detect.py
@@ -139,7 +139,7 @@ def configure(env):
env["OBJSUFFIX"] = "." + arch + env["OBJSUFFIX"]
env["LIBSUFFIX"] = "." + arch + env["LIBSUFFIX"]
- env.Append(CCFLAGS=['/DWINRT_ENABLED'])
+ env.Append(CCFLAGS=['/DUWP_ENABLED'])
env.Append(CCFLAGS=['/DWINDOWS_ENABLED'])
env.Append(CCFLAGS=['/DTYPED_METHOD_BIND'])
diff --git a/platform/uwp/thread_uwp.h b/platform/uwp/thread_uwp.h
index e0d386a317..328d29bdc7 100644
--- a/platform/uwp/thread_uwp.h
+++ b/platform/uwp/thread_uwp.h
@@ -29,7 +29,7 @@
#ifndef THREAD_WINRT_H
#define THREAD_WINRT_H
-#ifdef WINRT_ENABLED
+#ifdef UWP_ENABLED
#include "os/thread.h"