summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-04-29 10:19:30 -0700
committerSteve Ellcey <sellcey@mips.com>2014-04-29 10:19:30 -0700
commita28a9b94c2d45df5223777cc4b88e1cab9b91c1e (patch)
treedcf8d6d69961bdba4db3b591b4415226567de798
parentb6bfc58131e02295cf459b518fc8726a6c53dc45 (diff)
downloadglibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.tar.gz
glibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.tar.xz
glibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.zip
2014-04-29 Steve Ellcey <sellcey@mips.com>
	* iconf/skeleton.c (ONE_DIRECTION): Set default value if not set.
-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