summaryrefslogtreecommitdiff
path: root/iconv/skeleton.c
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/skeleton.c
parentb6bfc58131e02295cf459b518fc8726a6c53dc45 (diff)
downloadglibc-a28a9b94c2d45df5223777cc4b88e1cab9b91c1e.tar.gz
2014-04-29 Steve Ellcey <sellcey@mips.com>
* iconf/skeleton.c (ONE_DIRECTION): Set default value if not set.
Diffstat (limited to 'iconv/skeleton.c')
-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