applied Benjamin Riefenstahl's patches for building on Windows
This commit is contained in:
@@ -17,14 +17,8 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
|
||||
#include "config.h" /* Created by ./configure script */
|
||||
#include "cole.h"
|
||||
#else
|
||||
#include "config.h.in" /* Created by ./configure script */
|
||||
#include "cole.h.in"
|
||||
#include <io.h> /* for umask */
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h> /* for strcpy() */
|
||||
@@ -51,6 +45,8 @@ static void output_opcode_string(int);
|
||||
/* Global data */
|
||||
static char filename[128];
|
||||
|
||||
int aggressive = 0; /*!< Aggressive html optimization */
|
||||
|
||||
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
@@ -102,6 +98,8 @@ void dump_file(COLEDIRENT *cde, void *_info)
|
||||
unsigned char buf[16];
|
||||
COLEFILE *cf;
|
||||
COLERRNO err;
|
||||
|
||||
(void) _info; /*UNUSED*/
|
||||
|
||||
cf = cole_fopen_direntry(cde, &err);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user