mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
d2a80e12f2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@208 a592a061-630c-0410-9148-cb99ea01b6c8
24 lines
443 B
C++
24 lines
443 B
C++
// The -*- C++ -*- standard library header.
|
|
// This file is part of the GNU ANSI C++ Library.
|
|
|
|
#ifndef __CSTDLIB__
|
|
#define __CSTDLIB__
|
|
#include <stdlib.h>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface "cstdlib"
|
|
#endif
|
|
|
|
extern "C++" {
|
|
|
|
#if _G_HAS_LABS
|
|
inline long abs(long x) { return labs (x); }
|
|
#else
|
|
inline long abs(long x) { return x >= 0 ? x : -x; }
|
|
#endif
|
|
//inline ldiv_t div(long x, long y) { return ldiv (x, y); }
|
|
|
|
} // extern "C++"
|
|
|
|
#endif
|