summaryrefslogtreecommitdiff
path: root/iconv
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 /iconv
parentMention BZ16823 in NEWS (diff)
downloadglibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.tar.gz
glibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.tar.bz2
glibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.zip
2014-04-29 Steve Ellcey <sellcey@mips.com>
* iconf/skeleton.c (ONE_DIRECTION): Set default value if not set.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/skeleton.c4
1 files changed, 4 insertions, 0 deletions
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