]> git.lyx.org Git - lyx.git/blobdiff - src/support/snprintf.h
another safety belt
[lyx.git] / src / support / snprintf.h
index 03cf914b3d05d9000b4dcf36a0ba9baa55dfe2c6..092355169c9cac4c9b625d0fc42beca9f966f341 100644 (file)
@@ -7,7 +7,12 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
-  
+
+#ifndef CXX_GLOBAL_CSTD
+using std::size_t;
+using std::va_list;
+#endif
+
 #if defined(HAVE_DECL_SNPRINTF) || defined(HAVE_DECL_VSNPRINTF)
 #include <stdio.h>
 #endif
@@ -33,5 +38,5 @@ int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap);
 #ifdef __cplusplus
 } /* end of extern "C" */
 #endif
-  
+
 #endif