changeset 11915:95e2cbebda18

Fix today's commit.
author Bruno Haible <bruno@clisp.org>
date Sun, 30 Aug 2009 18:19:49 +0200
parents e9cf9c46ad7a
children 8de86f9d0def
files ChangeLog lib/iconv_open.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@
 
 	Work around iconv_open problem on Solaris.
 	* lib/iconv_open-solaris.gperf: New file.
+	* lib/iconv_open.c (ICONV_FLAVOR_SOLARIS): New macro.
 	* m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN): Also handle Solaris.
 	* modules/iconv_open (Files): Add lib/iconv_open-solaris.gperf.
 	(Makefile.am): Add rule for iconv_open-solaris.h. Augment
--- a/lib/iconv_open.c
+++ b/lib/iconv_open.c
@@ -1,5 +1,5 @@
 /* Character set conversion.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -36,6 +36,7 @@
 #define ICONV_FLAVOR_HPUX "iconv_open-hpux.h"
 #define ICONV_FLAVOR_IRIX "iconv_open-irix.h"
 #define ICONV_FLAVOR_OSF "iconv_open-osf.h"
+#define ICONV_FLAVOR_SOLARIS "iconv_open-solaris.h"
 
 #ifdef ICONV_FLAVOR
 # include ICONV_FLAVOR