attempt to get mingw building correctly after recent changes
make typedef of boolean match mingw header files link with shell32 and ole32 as Makefile.msc now had to do kludge some stuff missing from mingw headers in sys/winnt/windmain.c
This commit is contained in:
@@ -70,9 +70,10 @@
|
||||
* since otherwise comparisons with signed quantities are done incorrectly
|
||||
*/
|
||||
typedef schar xchar;
|
||||
#if defined(__GNUC__) && defined(WIN32) && defined(__cplusplus)
|
||||
|
||||
#ifdef __MINGW32__
|
||||
/* Resolve conflict with Qt 5 and MinGW-w32 */
|
||||
typedef uchar boolean; /* 0 or 1 */
|
||||
typedef unsigned char boolean; /* 0 or 1 */
|
||||
#else
|
||||
#ifndef SKIP_BOOLEAN
|
||||
typedef xchar boolean; /* 0 or 1 */
|
||||
|
||||
Reference in New Issue
Block a user