]> git.lyx.org Git - features.git/commitdiff
Compile fix.
authorAngus Leeming <leeming@lyx.org>
Thu, 13 Jun 2002 11:37:16 +0000 (11:37 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 13 Jun 2002 11:37:16 +0000 (11:37 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4390 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/LaTeX.C

index 12634fda394b4a864a818b7086514a4f1b21b0db..de1140d7f97786a9af372fc386e5f0c37a1c9431 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-13  Angus Leeming  <leeming@lyx.org>
+
+       * LaTeX.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
+
 2002-06-12  "Andrew Zabolotny"  <zap@cobra.ru>
 
        * kbmap.C (getiso): add support for cyrillic and greek
index 55cf3348519d19206c7eab4eb78d417455b2243d..830834ebd697f46891f0d36d9bbe144febcb6abb 100644 (file)
 #include <fstream>
 #include <cstdio>  // sscanf
 
+#ifndef CXX_GLOBAL_CSTD
+using std::sscanf;
+#endif
+
 using std::ifstream;
 using std::getline;
 using std::endl;