olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1505492-undef-16.patch

00db10
commit a28a9b94c2d45df5223777cc4b88e1cab9b91c1e
00db10
Author: Steve Ellcey <sellcey@mips.com>
00db10
Date:   Tue Apr 29 10:19:30 2014 -0700
00db10
00db10
    2014-04-29  Steve Ellcey  <sellcey@mips.com>
00db10
    
00db10
            * iconf/skeleton.c (ONE_DIRECTION): Set default value if not set.
00db10
00db10
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
00db10
index 176436a4c81f071b..527ef0380c999740 100644
00db10
--- a/iconv/skeleton.c
00db10
+++ b/iconv/skeleton.c
00db10
@@ -162,6 +162,10 @@
00db10
 # endif
00db10
 #endif
00db10
 
00db10
+#ifndef ONE_DIRECTION
00db10
+# define ONE_DIRECTION 0
00db10
+#endif
00db10
+
00db10
 
00db10
 /* How many bytes are needed at most for the from-charset.  */
00db10
 #ifndef MAX_NEEDED_FROM