[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compiler support [patch 25]: INFINITE
From: |
Michael Goffioul |
Subject: |
MSVC compiler support [patch 25]: INFINITE |
Date: |
Tue, 17 Oct 2006 21:56:44 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
Some Win32 header defines INFINITE, so undefine it
Index: liboctave/randpoisson.c
===================================================================
RCS file: /cvs/octave/liboctave/randpoisson.c,v
retrieving revision 1.2
diff -p -c -r1.2 randpoisson.c
*** liboctave/randpoisson.c 24 Apr 2006 19:13:08 -0000 1.2
--- liboctave/randpoisson.c 17 Oct 2006 11:07:42 -0000
***************
*** 22,27 ****
--- 22,30 ----
#include "randpoisson.h"
#undef NAN
+ #ifdef _MSC_VER
+ #undef INFINITE
+ #endif
#define NAN octave_NaN
#define INFINITE lo_ieee_isinf
#define RUNI oct_randu()
- MSVC compiler support [patch 19]: strncasecmp needed in liboctave, (continued)
- MSVC compiler support [patch 20]: opendir, readdir, ..., Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 20]: opendir, readdir, ..., John W. Eaton, 2006/10/25
- MSVC compiler support [patch 21]: glob_match ctor, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 21]: glob_match ctor, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 22]: mx-op-defs additional macros, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 22]: mx-op-defs additional macros, John W. Eaton, 2006/10/26
- MSVC compiler support [patch 32]: waitpid, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 32]: waitpid, John W. Eaton, 2006/10/17
- MSVC compiler support [patch 25]: INFINITE,
Michael Goffioul <=
- MSVC compiler support [patch 25]: INFINITE, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 24]: strftime crash, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 24]: strftime crash, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 24]: strftime crash, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 26]: MinGW code share, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 26]: MinGW code share, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 27]: OCTAVE_HOME, Michael Goffioul, 2006/10/17
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, David Bateman, 2006/10/17
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, Michael Goffioul, 2006/10/17
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, Michael Goffioul, 2006/10/18