applied Benjamin Riefenstahl's patches for building on Windows
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user