Mercurial > octave-antonio
diff liboctave/oct-time.cc @ 10123:8590f3c51868
Fix a few MSVC-related problems and partially re-enable MSVC compilation.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sun, 17 Jan 2010 20:32:38 +0000 |
parents | 0b0bf1fd1ed7 |
children | 4c0cdbe0acca |
line wrap: on
line diff
--- a/liboctave/oct-time.cc Sun Jan 17 13:31:42 2010 +0100 +++ b/liboctave/oct-time.cc Sun Jan 17 20:32:38 2010 +0000 @@ -35,11 +35,13 @@ #endif #if defined (OCTAVE_USE_WINDOWS_API) +#define WIN32_LEAN_AND_MEAN #include <windows.h> #undef min #undef max #endif +#include <sys/time.h> #include "strftime.h" #include "lo-error.h"