Rebuild with updated MinGW32.

This commit is contained in:
Renaud 2017-05-17 07:49:03 +08:00
parent 4873021e37
commit df0d663b35
3 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ depend: ${SRC}
@sed -n -e '1,/^# DO NOT DELETE THIS LINE/p' Makefile.bak > Makefile
@echo >> Makefile
@for i in ${SRC}; do\
cc ${DEFINES} -MM $$i ; done >> Makefile
$(CC) ${DEFINES} -MM $$i ; done >> Makefile
@echo '' >>Makefile
@echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile
@echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile

View File

@ -79,7 +79,7 @@ void ttopen( void) {
void ttclose( void) {
}
int ttputc( int c) {
int ttputc( unicode_t c) {
char utf8[ 6] ;
int bytes ;

View File

@ -8,7 +8,7 @@
#include <stdio.h>
/* Standard error macro for reporting API errors */
#define PERR(bSuccess, api){if(!(bSuccess)) printf("%s:Error %d from %s \
#define PERR(bSuccess, api){if(!(bSuccess)) printf("%s:Error %ld from %s \
on line %d\n", __FILE__, GetLastError(), api, __LINE__);}
static void cls( HANDLE hConsole )