STLport compile fix for floor()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8718 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2004-05-02 10:13:09 +00:00
parent 5d367b87c4
commit ee3c83ff49
4 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-05-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* QGraphics.C: #include <cmath> (STLport compile fix for floor())
2004-04-29 Angus Leeming <leeming@lyx.org>
* QLImage.C (toGray): new helper function, copied from

View File

@ -35,11 +35,17 @@
#include "QGraphics.h"
#include "Qt2BC.h"
#include <cmath>
using lyx::support::float_equal;
using lyx::support::strToDbl;
using lyx::support::strToInt;
using lyx::support::token;
#ifndef CXX_GLOBAL_CSTD
using std::floor;
#endif
using std::vector;
using std::string;

View File

@ -1,3 +1,7 @@
2004-05-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* FormGraphics.C: #include <cmath> (STLport compile fix for floor())
2004-04-30 Angus Leeming <leeming@lyx.org>
* XFormsToolbar.[Ch]: add code to generate an 'inactive' version

View File

@ -35,6 +35,8 @@
#include "lyx_forms.h"
#include <cmath>
using lyx::support::bformat;
using lyx::support::float_equal;
using lyx::support::getStringFromVector;
@ -42,6 +44,10 @@ using lyx::support::strToDbl;
using lyx::support::strToInt;
using lyx::support::token;
#ifndef CXX_GLOBAL_CSTD
using std::floor;
#endif
using std::endl;
using std::vector;