]> git.lyx.org Git - lyx.git/blobdiff - src/support/fmt.C
fix typo that put too many include paths for most people
[lyx.git] / src / support / fmt.C
index c3640681005da6a9905afe67b388f7b0f77bf888..1e61e3bb324d9cb2dcdaeb556966c81e4ade5642 100644 (file)
@@ -2,14 +2,14 @@
 #include <cstdio>
 #include <cstdarg>
 
-#ifndef HAVE_VSNPRINTF
+#ifndef HAVE_DECL_VSNPRINTF
 #include "support/snprintf.h"
 #endif
 
 #include "LString.h"
 
-#if 0
-using std::vsnprintf;
+#ifndef CXX_GLOBAL_CSTD
+using std::va_list;
 #endif
 
 /* This output manipulator gives the option to use Old style format
@@ -26,7 +26,7 @@ using std::vsnprintf;
    glibc returns the needed size.
    One problem can be that vsnprintf is not implemented on all archs,
    but AFAIK it is part of the new ANSI C standard.
-   
+
    Lgb
 */