fix compile errors on win32

darcs
erg 2006-11-21 23:47:44 +00:00
parent 92faddc877
commit 077ebd7c6c
3 changed files with 2 additions and 3 deletions

View File

@ -2,4 +2,4 @@ CFLAGS += -DWINDOWS
LIBS = -lm
PLAF_SUFFIX = .exe
PLAF_OBJS = vm/os-windows.o
include wm/Config.x86
include vm/Config.x86

View File

@ -1,4 +1,4 @@
#ifdef __APPLE__
#if defined(__APPLE__) || defined(WINDOWS)
#define MANGLE(sym) _##sym
#else
#define MANGLE(sym) sym

View File

@ -110,7 +110,6 @@ void primitive_read_dir(void)
{
HANDLE dir;
WIN32_FIND_DATA find_data;
CELL result_count = 0;
char path[MAX_PATH + 4];
sprintf(path, "%s\\*", unbox_char_string());