From 3f5e3c396863f77536200abc2815cb4d5ea240fa Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 24 Mar 2024 18:54:35 +0800 Subject: [PATCH] Update export.h --- include/pocketpy/export.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/pocketpy/export.h b/include/pocketpy/export.h index 112c7fdf..a2beb3d3 100644 --- a/include/pocketpy/export.h +++ b/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