about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-01 19:24:55 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-01 19:24:55 +0000
commit1bc83d2bb213bb32d8f7ae42595bbc1fec91094e (patch)
tree2b680473931c42b3a6a967f5318a795ced7a0e4f /sysdeps/generic
parent9a1f71a7238deea567c3e3bd95c8ec5fd973f54d (diff)
downloadglibc-1bc83d2bb213bb32d8f7ae42595bbc1fec91094e.tar.gz
glibc-1bc83d2bb213bb32d8f7ae42595bbc1fec91094e.tar.xz
glibc-1bc83d2bb213bb32d8f7ae42595bbc1fec91094e.zip
Update.
2001-09-01  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/elf/Dist: Remove file.
	* sysdeps/alpha/elf/Makefile: Remove file.
	* sysdeps/alpha/elf/crtbegin.S: Remove file.
	* sysdeps/alpha/elf/crtend.S: Remove file.
	* sysdeps/alpha/elf/initfini.c: New file.

2001-09-01  Mark Kettenis  <kettenis@gnu.org>

	* iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
	* iconv/tst-iconv3.c: Likewise.

2001-09-01  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.

	handle it like 'I' for symmetry with strftime.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/inttypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/inttypes.h b/sysdeps/generic/inttypes.h
index 0549a6accc..f0ae7747cd 100644
--- a/sysdeps/generic/inttypes.h
+++ b/sysdeps/generic/inttypes.h
@@ -29,7 +29,9 @@
 
 /* Get a definition for wchar_t.  But we must not define wchar_t itself.  */
 #ifndef ____gwchar_t_defined
-# ifdef __WCHAR_TYPE__
+# ifdef __cplusplus
+#  define __gwchar_t wchar_t
+# elif defined __WCHAR_TYPE__
 typedef __WCHAR_TYPE__ __gwchar_t;
 # else
 #  defined __need_wchar_t