mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
header inclusion fixes(?) for abs(int)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3146 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
09c0e4c833
commit
157d9442ba
@ -1,3 +1,10 @@
|
||||
2001-12-05 Allan Rae <rae@lyx.org>
|
||||
|
||||
* lyxlength.C: Attempted a fix for the abs(int) header selection.
|
||||
Works for 2.95.3, from what I understand of Garst's reports this should
|
||||
work for other g++ versions. We're screwed if the abs(int) definition
|
||||
changed between bugfix releases of gcc.
|
||||
|
||||
2001-12-04 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* text.C: fix chapter label offset !
|
||||
|
@ -18,7 +18,11 @@
|
||||
|
||||
#include "Lsstream.h"
|
||||
|
||||
#if defined(__GNUG__) && __GNUC__ == 2 && __GNUC_MINOR__ >= 95
|
||||
#include <cstdlib>
|
||||
#else
|
||||
#include <cmath>
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
// this is now here and in lyxgluelength.C
|
||||
|
Loading…
Reference in New Issue
Block a user