diff 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
line wrap: on
line diff
--- a/win/dirent.c	Fri Nov 16 21:18:20 2012 +0000
+++ b/win/dirent.c	Mon Nov 19 19:52:36 2012 +0000
@@ -8,6 +8,7 @@
 
 #include <windows.h>
 
+#define _DW_INTERNAL
 #include "dwcompat.h"
 #include <errno.h>
 #include <direct.h>