Mercurial > hg > octave-nkf
diff liboctave/lo-utils.h @ 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 | e45ccac6017f |
children | aca961a3f387 |
line wrap: on
line diff
--- a/liboctave/lo-utils.h +++ b/liboctave/lo-utils.h @@ -114,13 +114,13 @@ octave_write_float_complex (std::ostream& os, const FloatComplex& cval); #ifdef HAVE_LOADLIBRARY_API +#define WIN32_LEAN_AND_MEAN #include <windows.h> extern "C" OCTAVE_API void * octave_w32_library_search (HINSTANCE handle, const char *name); -#undef min -#undef max -#endif #endif extern "C" OCTAVE_API pid_t octave_waitpid (pid_t pid, int *status, int options); + +#endif