From 8af7576cd112d15340499f75d8d91c14eeb88964 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sat, 4 Mar 2023 18:49:30 +0800 Subject: [PATCH] fix compile error in windows --- RedPandaIDE/translations/RedPandaIDE_zh_CN.ts | 2 +- RedPandaIDE/utils.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index fd14b847..a8e0183a 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -7000,7 +7000,7 @@ Are you really want to continue? addr: %1 - 地址: %1 + 地址: %1 diff --git a/RedPandaIDE/utils.h b/RedPandaIDE/utils.h index a4da8454..6986349b 100644 --- a/RedPandaIDE/utils.h +++ b/RedPandaIDE/utils.h @@ -28,6 +28,9 @@ #define SI_NO_CONVERSION #include "SimpleIni.h" #include "qt_utils/utils.h" +#ifdef Q_OS_WIN +#include +#endif using SimpleIni = CSimpleIniA; using PSimpleIni = std::shared_ptr;