Mercurial > dwindows
changeset 1864:3816d76835e9
Some more MinGW build fixes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 07 Mar 2013 20:17:24 +0000 |
parents | 0656c716dc9f |
children | 43c6ecfc598a |
files | dwcompat.h win/dirent.c |
diffstat | 2 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dwcompat.h Wed Mar 06 14:14:38 2013 +0000 +++ b/dwcompat.h Thu Mar 07 20:17:24 2013 +0000 @@ -419,9 +419,4 @@ void API initdir(int argc, char *argv[]); int API setpath(char *path); -#ifdef __MINGW32__ -# undef API -# define API APIENTRY #endif - -#endif
--- a/win/dirent.c Wed Mar 06 14:14:38 2013 +0000 +++ b/win/dirent.c Thu Mar 07 20:17:24 2013 +0000 @@ -30,7 +30,7 @@ /* * Return first char of filesystem type, or 0 if unknown. */ -static char API getFSType(const char *path) +static char getFSType(const char *path) { static char cache[1+26]; char drive[3];