Mercurial > octave-nkf
diff liboctave/lo-sysdep.cc @ 10346:65d5776379c3
Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sun, 21 Feb 2010 18:04:59 +0000 |
parents | 07ebe522dac2 |
children | 479cc8a0a846 |
line wrap: on
line diff
--- a/liboctave/lo-sysdep.cc Sun Feb 21 17:46:30 2010 +0000 +++ b/liboctave/lo-sysdep.cc Sun Feb 21 18:04:59 2010 +0000 @@ -34,11 +34,8 @@ #include <fcntl.h> #if defined (__WIN32__) && ! defined (__CYGWIN__) +#define WIN32_LEAN_AND_MEAN #include <windows.h> -#ifdef max -# undef min -# undef max -#endif #endif #include "file-ops.h"