about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--iconv/skeleton.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 803d11414a..cacf88bbc0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-04-29  Steve Ellcey  <sellcey@mips.com>
+
+	* iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
+
 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	[BZ #16823]
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index c3f161ad01..19089493b5 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -163,6 +163,10 @@
 # endif
 #endif
 
+#ifndef ONE_DIRECTION
+# define ONE_DIRECTION 0
+#endif
+
 
 /* How many bytes are needed at most for the from-charset.  */
 #ifndef MAX_NEEDED_FROM