applied Benjamin Riefenstahl's patches for building on Windows

This commit is contained in:
vdvo
2002-05-27 16:45:32 +00:00
parent a80a9680fe
commit 79fe4b68df
15 changed files with 76 additions and 113 deletions

View File

@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if !(defined( __WIN32__ ) || defined( __BORLANDC__ ))
#if !defined(WIN32)
#include <unistd.h>
#endif
@@ -45,7 +45,7 @@ __cole_extract_file (FILE **file, char **filename, U32 size, U32 pps_start,
long FilePos;
size_t bytes_to_copy;
U8 Block[0x0200];
#if defined( __WIN32__ ) || defined( __BORLANDC__ )
#if defined(WIN32)
FILE *ret;
*filename = (char *)malloc (TMPNAM_LEN);