[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compiler support [patch 31]: CHAR_BIT
From: |
Michael Goffioul |
Subject: |
MSVC compiler support [patch 31]: CHAR_BIT |
Date: |
Tue, 17 Oct 2006 22:09:08 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
CHAR_BIT is defined in limits.h under Win32
Index: liboctave/oct-types.h.in
===================================================================
RCS file: /cvs/octave/liboctave/oct-types.h.in,v
retrieving revision 1.4
diff -p -c -r1.4 oct-types.h.in
*** liboctave/oct-types.h.in 23 May 2006 06:05:14 -0000 1.4
--- liboctave/oct-types.h.in 17 Oct 2006 11:07:42 -0000
*************** typedef @OCTAVE_IDX_TYPE@ octave_idx_typ
*** 32,37 ****
--- 32,41 ----
#include <inttypes.h>
#else
+ #if defined (HAVE_LIMITS_H)
+ #include <limits.h>
+ #endif
+
#if CHAR_BIT == 8
typedef signed char int8_t;
typedef unsigned char uint8_t;
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, (continued)
- MSVC compiler support [patch 28]: setvbuf crash, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 28]: setvbuf crash, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 29]: Backslash in path, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 29]: Backslash in path, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 30]: Help MSVC with templates, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 30]: Help MSVC with templates, John W. Eaton, 2006/10/26
- MSVC compiler support [patch 31]: CHAR_BIT,
Michael Goffioul <=
- MSVC compiler support [patch 31]: CHAR_BIT, John W. Eaton, 2006/10/17
- MSVC compiler support [patch 32]: ls, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 32]: ls, John W. Eaton, 2006/10/27
- Re: MSVC compiler support [patch 32]: ls, Michael Goffioul, 2006/10/27
- Re: MSVC compiler support [patch 32]: ls, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 33]: Help, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 33]: Help, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 34]: sepchar and load_path, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 34]: sepchar and load_path, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 35]: default history file, Michael Goffioul, 2006/10/17