Mercurial > dwindows
diff dwcompat.c @ 1601:71e0a3ad07f7
Enable level 3 warnings in DEBUG mode with Visual C to show deprecation warnings.
Source code cleanup to eliminate the warnings now generated on this level.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 26 Feb 2012 09:21:35 +0000 |
parents | 6baf177f335c |
children | ff844a41193b |
line wrap: on
line diff
--- a/dwcompat.c Sat Feb 25 23:35:59 2012 +0000 +++ b/dwcompat.c Sun Feb 26 09:21:35 2012 +0000 @@ -1,10 +1,13 @@ /* $Id$ */ -#include "dwcompat.h" -#include "dw.h" +#ifdef __WIN32__ +#include <direct.h> +#endif #if defined(__OS2__) || defined(__WIN32__) #include <share.h> #endif +#include "dwcompat.h" +#include "dw.h" #if defined(__UNIX__) || defined(__MAC__) #if defined(__FreeBSD__) || defined(__MAC__)