[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compilation patch: another min/max undefine
From: |
Michael Goffioul |
Subject: |
MSVC compilation patch: another min/max undefine |
Date: |
Sat, 28 Oct 2006 15:53:35 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
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 */
- MSVC compilation patch: another min/max undefine,
Michael Goffioul <=