works under mingw, but not finish yet

This commit is contained in:
U-DESKTOP-T772REH\wangyu
2018-06-19 18:06:28 +08:00
parent 7e6cb5c7e6
commit 8c21ff55ab
9 changed files with 158 additions and 56 deletions

View File

@@ -50,7 +50,7 @@ typedef unsigned long u_long;
/*
* compatibility stuff
*/
#ifdef MSDOS /* but also for others, e.g. sun... */
#if defined(MSDOS)||defined(__MINGW32__) /* but also for others, e.g. sun... */
#define NEED_BCOPY
#define bcmp(a,b,n) memcmp(a,b,n)
#endif