noticed by Chris Nandor in MacOS Classic.
p4raw-id: //depot/perl@8790
* -1 = fallback to C locale failed
*/
-#ifdef USE_LOCALE
+#if defined(USE_LOCALE) && defined(USE_ENVIRON_ARRAY)
#ifdef USE_LOCALE_CTYPE
char *curctype = NULL;
#endif /* USE_LOCALE_NUMERIC */
}
-#endif /* USE_LOCALE */
+#endif /* USE_LOCALE && USE_ENVIRON_ARRAY */
#ifdef USE_LOCALE_CTYPE
if (curctype != NULL)