Explorar el Código

uClibc gettext support is under development and really shouldn't
be used by the unsuspecting masses quite yet.

Eric Andersen hace 20 años
padre
commit
cf84d3fc7b
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  1. 1 1
      extra/Configs/Config.in
  2. 5 0
      include/libintl.h

+ 1 - 1
extra/Configs/Config.in

@@ -944,7 +944,7 @@ config UCLIBC_HAS_SYS_SIGLIST
 
 config UCLIBC_HAS_GETTEXT_AWARENESS
 	bool "Include gettext awareness"
-	depends on UCLIBC_HAS_LOCALE
+	depends on UCLIBC_HAS_LOCALE && UCLIBC_MJN3_ONLY
 	default n
 	help
 	  NOTE!!!  Not yet integrated with strerror and strsignal.  NOTE!!!

+ 5 - 0
include/libintl.h

@@ -34,6 +34,11 @@
 
 __BEGIN_DECLS
 
+#ifdef __UCLIBC_MJN3_ONLY__
+#warning "mjn3 FIXME: gettext has a prototype but isn't defined."
+#warning "mjn3 FIXME: __OPTIMIZE__ is never defined."
+#endif
+
 /* Look up MSGID in the current default message catalog for the current
    LC_MESSAGES locale.  If not found, returns MSGID itself (the default
    text).  */