diff options
author | Jonathan Pryor <jpryor@novell.com> | 2006-10-26 23:00:38 +0400 |
---|---|---|
committer | Jonathan Pryor <jpryor@novell.com> | 2006-10-26 23:00:38 +0400 |
commit | 5d93deb06f1c99299023e090aa138604d1b1b1d7 (patch) | |
tree | 23faaaebbee91b1e7ec78e8cd62940f1fb1660ae /support | |
parent | 793f04d75486ad928f8199590c154644860f9d68 (diff) |
* create-native-map.exe: Remove. Just grab a new copy whenever we need to
refresh map.[ch].
* Makefile.am: Remove `update-create-native-map' target, and just have the
`refresh' target grab the latest create-native-map.exe program.
* map.c: Flush (remove fallback to <inttypes.h> constants).
svn path=/trunk/mono/; revision=67004
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 8 | ||||
-rw-r--r-- | support/Makefile.am | 4 | ||||
-rw-r--r-- | support/create-native-map.exe | bin | 61440 -> 0 bytes | |||
-rw-r--r-- | support/map.c | 24 |
4 files changed, 9 insertions, 27 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index 1bfd075d3f1..2a0febbf68b 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,5 +1,13 @@ 2006-10-26 Jonathan Pryor <jonpryor@vt.edu> + * create-native-map.exe: Remove. Just grab a new copy whenever we need to + refresh map.[ch]. + * Makefile.am: Remove `update-create-native-map' target, and just have the + `refresh' target grab the latest create-native-map.exe program. + * map.c: Flush (remove fallback to <inttypes.h> constants). + +2006-10-26 Jonathan Pryor <jonpryor@vt.edu> + * create-native-map.exe: Update; Adds support for integral limit fallback. * map.c: Flush (adds integral limits fallback, so that if G_MININT8 doesn't exist we can fallback sanely instead of breaking the build). diff --git a/support/Makefile.am b/support/Makefile.am index 5bef8c8ddd8..015136550a0 100644 --- a/support/Makefile.am +++ b/support/Makefile.am @@ -85,13 +85,11 @@ libMonoSupportW_la_SOURCES = \ libMonoSupportW_la_LIBADD = \ $(GLIB_LIBS) -update-create-native-map: - cp `pkg-config --variable=Programs create-native-map` . - # # Use this target to refresh the values in map.[ch] # refresh: + cp `pkg-config --variable=Programs create-native-map` . && \ $(top_builddir)/runtime/mono-wrapper create-native-map.exe \ --autoconf-member=d_off \ --autoconf-member=d_reclen \ diff --git a/support/create-native-map.exe b/support/create-native-map.exe Binary files differdeleted file mode 100644 index 6256de06a6e..00000000000 --- a/support/create-native-map.exe +++ /dev/null diff --git a/support/map.c b/support/map.c index 28e1e123d92..79f551e6a1f 100644 --- a/support/map.c +++ b/support/map.c @@ -71,96 +71,72 @@ #if defined (G_MININT8) #define CNM_MININT8 G_MININT8 -#elif defined (INT8_MIN) -#define CNM_MININT8 INT8_MIN #else #define CNM_MININT8 (-128) #endif #if defined (G_MAXINT8) #define CNM_MAXINT8 G_MAXINT8 -#elif defined (INT8_MAX) -#define CNM_MAXINT8 INT8_MAX #else #define CNM_MAXINT8 (127) #endif #if defined (G_MAXUINT8) #define CNM_MAXUINT8 G_MAXUINT8 -#elif defined (UINT8_MAX) -#define CNM_MAXUINT8 UINT8_MAX #else #define CNM_MAXUINT8 (255) #endif #if defined (G_MININT16) #define CNM_MININT16 G_MININT16 -#elif defined (INT16_MIN) -#define CNM_MININT16 INT16_MIN #else #define CNM_MININT16 (-32768) #endif #if defined (G_MAXINT16) #define CNM_MAXINT16 G_MAXINT16 -#elif defined (INT16_MAX) -#define CNM_MAXINT16 INT16_MAX #else #define CNM_MAXINT16 (32767) #endif #if defined (G_MAXUINT16) #define CNM_MAXUINT16 G_MAXUINT16 -#elif defined (UINT16_MAX) -#define CNM_MAXUINT16 UINT16_MAX #else #define CNM_MAXUINT16 (65535) #endif #if defined (G_MININT32) #define CNM_MININT32 G_MININT32 -#elif defined (INT32_MIN) -#define CNM_MININT32 INT32_MIN #else #define CNM_MININT32 (-2147483648) #endif #if defined (G_MAXINT32) #define CNM_MAXINT32 G_MAXINT32 -#elif defined (INT32_MAX) -#define CNM_MAXINT32 INT32_MAX #else #define CNM_MAXINT32 (2147483647) #endif #if defined (G_MAXUINT32) #define CNM_MAXUINT32 G_MAXUINT32 -#elif defined (UINT32_MAX) -#define CNM_MAXUINT32 UINT32_MAX #else #define CNM_MAXUINT32 (4294967295U) #endif #if defined (G_MININT64) #define CNM_MININT64 G_MININT64 -#elif defined (INT64_MIN) -#define CNM_MININT64 INT64_MIN #else #define CNM_MININT64 (-9223372036854775808LL) #endif #if defined (G_MAXINT64) #define CNM_MAXINT64 G_MAXINT64 -#elif defined (INT64_MAX) -#define CNM_MAXINT64 INT64_MAX #else #define CNM_MAXINT64 (9223372036854775807LL) #endif #if defined (G_MAXUINT64) #define CNM_MAXUINT64 G_MAXUINT64 -#elif defined (UINT64_MAX) -#define CNM_MAXUINT64 UINT64_MAX #else #define CNM_MAXUINT64 (18446744073709551615ULL) #endif |