view etc/inttypes.h @ 29290:ef46d5a66bb2

Use a malloced string for the get_term_charset return value. This is necessary at least on POSIX systems since the buffer returned by nl_langinfo may change its contents with e.g. each setlocale call.
author reimar
date Sun, 31 May 2009 13:00:51 +0000
parents dae8bc96fb15
children
line wrap: on
line source


// fallback if the user doesn't have inttypes.h (libc5 systems)

#include <sys/bitypes.h>