bug 992: SP/PC define pollution in solaris breaks build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10587 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-11-03 10:49:32 +00:00
parent 9e96ada08b
commit 17ac5b3f52
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
2005-11-03 Michael Gerz <michael.gerz@teststep.org>
* messages.C: fix crash and localization on MinGW/Windows platform

View File

@ -17,6 +17,15 @@
#include <string>
// Solaris/x86 version 9 and earlier define these
#ifdef PC
# undef PC
#endif
#ifdef SP
# undef SP
#endif
/**
* LyXLength - Represents latex length measurement
*/