[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compilation patch: another min/max undefine
From: |
John W. Eaton |
Subject: |
MSVC compilation patch: another min/max undefine |
Date: |
Sat, 28 Oct 2006 10:10:53 -0400 |
On 28-Oct-2006, Michael Goffioul wrote:
| Index: libcruft/misc/quit.h
| ===================================================================
| RCS file: /cvs/octave/libcruft/misc/quit.h,v
| retrieving revision 1.19
| diff -c -r1.19 quit.h
| *** libcruft/misc/quit.h 26 Oct 2006 22:00:12 -0000 1.19
| --- libcruft/misc/quit.h 28 Oct 2006 13:53:17 -0000
| ***************
| *** 37,42 ****
| --- 37,44 ----
| #if defined (__WIN32__) && ! defined (_POSIX_VERSION)
|
| #include <windows.h>
| + #undef min
| + #undef max
|
| CRUFT_API extern void w32_sigint_init (void); /* setup */
| CRUFT_API extern void w32_raise_final (void); /* tear down */
|
I made this change.
Thanks,
jwe