Merge in Windows port using mingw and make.

This commit is contained in:
Russ Cox
2005-10-31 15:30:23 +00:00
parent d920d42c8b
commit 5d6ebf7a53
56 changed files with 730 additions and 978 deletions

19
gui-win32/Makefile Normal file
View File

@ -0,0 +1,19 @@
ROOT=..
include ../Make.config
LIB=libgui.a
OFILES=\
alloc.$O\
cload.$O\
draw.$O\
load.$O\
screen.$O\
wstrtoutf.$O
$(LIB): $(OFILES)
$(AR) r $(LIB) $(OFILES)
$(RANLIB) $(LIB)
%.$O: %.c
$(CC) $(CFLAGS) $*.c

View File

@ -1,14 +0,0 @@
<$DSRC/mkfile-$CONF
TARG=libgui.$L
OFILES=\
alloc.$O\
cload.$O\
draw.$O\
load.$O\
screen.$O\
wstrtoutf.$O
HFILES=\
<$DSRC/mklib-$CONF

View File

@ -1,5 +1,4 @@
#include <windows.h>
// #include "winduhz.h"
#undef Rectangle
#define Rectangle _Rectangle
@ -564,9 +563,8 @@ clipreadutf(HANDLE h)
return p;
}
uchar*
clipread()
char*
clipread(void)
{
HANDLE h;
uchar *p;