mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
(Kayvan): compile fix for non-Linux platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7914 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f91146d22b
commit
9a01e253a1
@ -1,3 +1,8 @@
|
||||
2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
|
||||
|
||||
* socktools.C (SUN_LEN): add this MACRO definition for platforms
|
||||
that do not define it themselves.
|
||||
|
||||
2003-10-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* copied_ptr.h: get rid of the swap member function.
|
||||
|
@ -26,6 +26,12 @@ using std::strerror;
|
||||
|
||||
using std::string;
|
||||
|
||||
// This MACRO eppears to be defined only on Linux.
|
||||
#if !defined(SUN_LEN)
|
||||
#define SUN_LEN(su) \
|
||||
(sizeof (*(su)) - sizeof ((su)->sun_path) + strlen((su)->sun_path))
|
||||
#endif
|
||||
|
||||
|
||||
namespace lyx {
|
||||
namespace support {
|
||||
|
Loading…
Reference in New Issue
Block a user