Commit Graph

12 Commits

Author SHA1 Message Date
Yves Arrouye
7e0c5ee2a5 ICU-367 let one override U_IOSTREAM_SOURCE at compile time (better do so both for the ICU build and everything that uses it!
X-SVN-Rev: 2721
2000-10-17 22:50:27 +00:00
Yves Arrouye
614eb112b5 ICU-480 detect nl_langinfo() and then tries to pass it CODESET and
_NL_CTYPE_CODESET_NAME, and set U_NL_LANGINFO_CODESET accordingly. If neither
works, define U_HAVE_NL_LANGINFO_CODESET to 0, for these NetBSD boxes...

X-SVN-Rev: 2690
2000-10-16 17:26:31 +00:00
Yves Arrouye
0b35a1e72c ICU-630 autoconf detection code for tzset, _tzset, tzname, _tzname
(adapted from AC_STRUCT_TIMEZONE), timezone and _timezone. The defines
U_TZSET, U_TZNAME and U_TIMEZONE either contain the symbol to use, or are
undefined if there is no appropriate symbol. putil.c thus has now things
like:

	uprv_timezone() {
	#ifdef U_TIMEZONE
	    return U_TIMEZONE;
	#else
	    ...........
	#endif
	}

which is much simpler.

X-SVN-Rev: 2580
2000-10-05 23:41:59 +00:00
Yves Arrouye
1c4c881afb ICU-638 added the new U_HAVE_NL_LANGINFO, U_HAVE_CODESET, and
U_HAVE_TZSET to get rid of the (routinely incorrect) manipulation of U_POSIX
based on platform names. Also added U_HAVE_WCSCPY to define whether a
platform has the w* functions (it may not, even if wchar.h is present).

X-SVN-Rev: 2579
2000-10-05 19:33:35 +00:00
Yves Arrouye
995ca8a672 ICU-360 detect gmake or make and set U_MAKE to that. Substitute U_MAKE
in platform.h.in, and hardcode it to "nmake" in pwin32.h and "gmake" in
pos400.h and pos2.h. Then use U_MAKE to define the default make command in
pkgdata.c, if there is no MAKE env variable.

X-SVN-Rev: 1793
2000-07-11 22:25:51 +00:00
Yves Arrouye
d37141dcac ICU-371 changed LINUX and SOLARIS to U_LINUX and U_SOLARIS, also
changed HAVE_INTTYPES_H to U_HAVE_INTTYPES_H.

X-SVN-Rev: 1726
2000-06-30 21:35:03 +00:00
Helena Chapman
7f9bb6418e ICU-351 This should really be another bug but the jitterbug system is down now. On AIX 4.2 and 4.3, though the inttypes.h definition is different, the binary compatibility forced us to make the changes in platform.h.in.
X-SVN-Rev: 1413
2000-05-19 00:04:07 +00:00
Yves Arrouye
15bba7372f ICU-362 if HAVE_INTTYPES_H is false, include <sys/types.h> and other
headers before typedef'ing ourselves.

X-SVN-Rev: 1296
2000-04-28 05:19:07 +00:00
Yves Arrouye
f59e194eab ICU-368 #define U_IOSTREAM_SOURCE to the level of I/O streams support
of the platform (see comment inside headers)

X-SVN-Rev: 1250
2000-04-25 21:20:01 +00:00
Yves Arrouye
12e6889366 ICU-347 new configure tests to check for the existence of wchar.h
(use #if U_HAVE_WCHAR_H) and the size of wchar_t (use U_SIZEOF_WCHAR_T to get
the size). The new symbols appear in platform.h (and icucfg gets a HAVE_WCHAR_H too).

X-SVN-Rev: 1089
2000-04-06 23:36:17 +00:00
Brendan Murray
dd70c2705e ICU-98 These are changes to support 64-bit platforms, such as Sun
SPARC V9, which is the only one tested so far.

X-SVN-Rev: 1022
2000-03-29 21:41:11 +00:00
Steven R. Loomis
8624681ac4 ICU-12 move platform.h.in, add a dummy platform.h in the old spot
X-SVN-Rev: 496
2000-01-06 20:16:57 +00:00