improve MINGW

This commit is contained in:
lixianjing 2022-03-23 16:34:31 +08:00
parent 306d6476e4
commit 4a479fd76d
2 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,6 @@
# 最新动态
2022/03/23
* 改用mingw默认的宏来定义MINGW宏感谢智明提供补丁
2022/03/22
* 修复软键盘让窗口上移后再次弹出软键盘导致窗口动画不正常的问题(感谢智明提供补丁)

View File

@ -35,6 +35,12 @@
#include <limits.h>
#include <inttypes.h>
#if defined(__MINGW32__) || defined(__MINGW64__)
#ifndef MINGW
#define MINGW 1
#endif
#endif
#if defined(HAS_AWTK_CONFIG)
#include "awtk_config.h"
#ifdef FRAGMENT_FRAME_BUFFER_SIZE