aboutsummaryrefslogtreecommitdiff
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
parentb6bfc58131e02295cf459b518fc8726a6c53dc45 (diff)
downloadglibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.zip
glibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.tar.gz
glibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.tar.bz2
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 c3f161a..1908949 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