comparison win/dirent.c @ 1839:22225eb286e5

Fixes for building with MINGW64 (specifically http://tdm-gcc.tdragon.net/). Currently a few things are missing, themes and HTML rendering but it builds in both 32bit and 64bit mode. There are also warnings generated by gcc every time the source calls a Windows API macro. (unused result warning).
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 19 Nov 2012 19:52:36 +0000
parents f8d1da63fb77
children 3816d76835e9
comparison
equal deleted inserted replaced
1838:ca304f28de3b 1839:22225eb286e5
6 #include <string.h> 6 #include <string.h>
7 #include <ctype.h> 7 #include <ctype.h>
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
11 #define _DW_INTERNAL
11 #include "dwcompat.h" 12 #include "dwcompat.h"
12 #include <errno.h> 13 #include <errno.h>
13 #include <direct.h> 14 #include <direct.h>
14 15
15 #define error(rc) errno = 255 16 #define error(rc) errno = 255