diff options
author | Claudio Fontana <sick_soul@users.sourceforge.net> | 2006-01-06 04:52:00 +0000 |
---|---|---|
committer | Claudio Fontana <sick_soul@users.sourceforge.net> | 2006-01-06 04:52:00 +0000 |
commit | b5b7b0baf551299e058432d58d5ab2e21d16c312 (patch) | |
tree | f0535089c67a6d6fdd746532953007253dd08cdb /lib/obstack.c | |
parent | a15c29c1a101a6bedc1a0ee5f6efd694a1ff4cad (diff) | |
download | idutils-b5b7b0baf551299e058432d58d5ab2e21d16c312.tar.gz idutils-b5b7b0baf551299e058432d58d5ab2e21d16c312.tar.bz2 idutils-b5b7b0baf551299e058432d58d5ab2e21d16c312.zip |
* s/id-utils/idutils/g;
* other small changes
Diffstat (limited to 'lib/obstack.c')
-rw-r--r-- | lib/obstack.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/obstack.c b/lib/obstack.c index f3ca2c2..6df0611 100644 --- a/lib/obstack.c +++ b/lib/obstack.c @@ -51,10 +51,6 @@ # endif #endif -#if defined _LIBC && defined USE_IN_LIBIO -# include <wchar.h> -#endif - #include <stddef.h> #ifndef ELIDE_CODE @@ -433,12 +429,11 @@ print_and_abort (void) happen because the "memory exhausted" message appears in other places like this and the translation should be reused instead of creating a very similar string which requires a separate translation. */ -# if defined _LIBC && defined USE_IN_LIBIO - if (_IO_fwide (stderr, 0) > 0) - __fwprintf (stderr, L"%s\n", _("memory exhausted")); - else +# ifdef _LIBC + (void) __fxprintf (NULL, "%s\n", _("memory exhausted")); +# else + fprintf (stderr, "%s\n", _("memory exhausted")); # endif - fprintf (stderr, "%s\n", _("memory exhausted")); exit (obstack_exit_failure); } |