Browse Source

WinRT: Enable native midi only on UWP

LouYihua 7 years ago
parent
commit
1e7020552d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      winrt/pal_config.h

+ 3 - 1
winrt/pal_config.h

@@ -48,7 +48,9 @@
 
 #define PAL_HAS_CONFIG_PAGE  1
 
-#define PAL_HAS_NATIVEMIDI  1
+#if NTDDI_VERSION >= NTDDI_WIN10
+# define PAL_HAS_NATIVEMIDI  1
+#endif
 
 #define PAL_FILESYSTEM_IGNORE_CASE 1