瀏覽代碼

Update export.h

blueloveTH 2 年之前
父節點
當前提交
3f5e3c3968
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/pocketpy/export.h

+ 5 - 0
include/pocketpy/export.h

@@ -32,3 +32,8 @@
     #define PK_SYS_PLATFORM     6
 #endif
 
+#if PK_SYS_PLATFORM == 0 || PK_SYS_PLATFORM == 3 || PK_SYS_PLATFORM == 5
+    #define PK_IS_DESKTOP_PLATFORM 1
+#else
+    #define PK_IS_DESKTOP_PLATFORM 0
+#endif