aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Scholtes2011-11-13 07:43:13 -0700
committerChristoph Scholtes2011-11-13 07:43:13 -0700
commitd7cecd19b3e4cf7a4c33145397900fb10f2cd698 (patch)
tree7fab2650bf02f2de0443955b288cc4a35a612cf1
parentf6b1b0a848cfdaf07e5b785e72a33c1316821e2c (diff)
downloademacs-d7cecd19b3e4cf7a4c33145397900fb10f2cd698.tar.gz
emacs-d7cecd19b3e4cf7a4c33145397900fb10f2cd698.zip
* inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/inc/stdint.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index fc612d64fa8..512e08678ff 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
12011-11-13 Christoph Scholtes <cschol2112@googlemail.com>
2
3 * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
4
12011-11-05 Christoph Scholtes <cschol2112@googlemail.com> 52011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
2 6
3 * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX) 7 * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h
index 5242a45df44..fa2e06f3da9 100644
--- a/nt/inc/stdint.h
+++ b/nt/inc/stdint.h
@@ -29,7 +29,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
29 29
30#ifdef _WIN64 30#ifdef _WIN64
31typedef __int64 intptr_t; 31typedef __int64 intptr_t;
32#define UINT64_MAX 18446744073709551616 32#define UINT64_MAX 18446744073709551615
33#define UINT64_MIN 0 33#define UINT64_MIN 0
34/* "i64" is the non-standard suffix used by MSVC for 64-bit constants. */ 34/* "i64" is the non-standard suffix used by MSVC for 64-bit constants. */
35#define INT64_MAX 9223372036854775807i64 35#define INT64_MAX 9223372036854775807i64
@@ -42,7 +42,7 @@ typedef __int64 intptr_t;
42#else 42#else
43typedef int intptr_t; 43typedef int intptr_t;
44typedef unsigned int uint32_t; 44typedef unsigned int uint32_t;
45#define UINT32_MAX 4294967296 45#define UINT32_MAX 4294967295
46#define UINT32_MIN 0 46#define UINT32_MIN 0
47#define INT32_MAX 2147483647 47#define INT32_MAX 2147483647
48#define INT32_MIN (~INT32_MAX) 48#define INT32_MIN (~INT32_MAX)