Reflect renaming: nanosleep.h -> timespec.h.
[gnulib.git] / lib / hard-locale.c
index 8ce6fdd..01e0ebd 100644 (file)
@@ -19,7 +19,9 @@
 # include <config.h>
 #endif
 
-#ifndef __GNUC__
+#if __GNUC__
+# define alloca __builtin_alloca
+#else
 # ifdef HAVE_ALLOCA_H
 #  include <alloca.h>
 # else
@@ -56,7 +58,7 @@ hard_locale (int category)
 #else
 
   int hard = 1;
-  char const *p = setlocale (category, "");
+  char const *p = setlocale (category, 0);
 
   if (p)
     {