several fixes for WIN32

better handle minimize/maximize
http://pulkomandy.tk/projects/GrafX2/ticket/102
This commit is contained in:
Thomas Bernard
2019-02-19 17:10:16 +01:00
parent 7d5f287737
commit 05175292a6
5 changed files with 45 additions and 13 deletions

View File

@@ -25,6 +25,7 @@
#ifdef _MSC_VER
#include <stdio.h>
#define strdup _strdup
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif