Skip to content

Commit d60164a

Browse files
committed
Avoid using *_unlocked functions on Solaris 2.5.1.
1 parent 44dbd3a commit d60164a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

libcharset/lib/ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2003-06-27 Bruno Haible <bruno@clisp.org>
2+
3+
Avoid use of *_unlocked functions on Solaris 2.5.1.
4+
* localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
5+
Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
6+
17
2003-08-20 Bruno Haible <bruno@clisp.org>
28

39
* config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.

libcharset/lib/localcharset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR)
8787
#endif
8888

89-
#ifdef HAVE_GETC_UNLOCKED
89+
#if HAVE_DECL_GETC_UNLOCKED
9090
# undef getc
9191
# define getc getc_unlocked
9292
#endif

0 commit comments

Comments
 (0)