[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compilation patch: undefine min/max
From: |
Michael Goffioul |
Subject: |
MSVC compilation patch: undefine min/max |
Date: |
Sat, 28 Oct 2006 14:19:36 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
Undefining min/max is also required in oct-shlib.cc
Michael.
Index: liboctave/oct-shlib.cc
===================================================================
RCS file: /cvs/octave/liboctave/oct-shlib.cc,v
retrieving revision 1.15
diff -c -r1.15 oct-shlib.cc
*** liboctave/oct-shlib.cc 22 Jun 2006 00:57:28 -0000 1.15
--- liboctave/oct-shlib.cc 28 Oct 2006 12:18:16 -0000
***************
*** 49,54 ****
--- 49,56 ----
#include <dl.h>
#elif defined (HAVE_LOADLIBRARY_API)
#include <windows.h>
+ #undef min
+ #undef max
#endif
}
- MSVC compilation patch: undefine min/max,
Michael Goffioul <=