1// The -*- C++ -*- standard library header.
2// This file is part of the GNU ANSI C++ Library.
3
4#ifndef __CSTDLIB__
5#define __CSTDLIB__
6#include <stdlib.h>
7
8#ifdef __GNUG__
9#pragma interface "cstdlib"
10#endif
11
12extern "C++" {
13
14#if _G_HAS_LABS
15inline long   abs(long x)		{ return labs (x); }
16#else
17inline long   abs(long x)		{ return x >= 0 ? x : -x; }
18#endif
19//inline ldiv_t div(long x, long y)	{ return ldiv (x, y); }
20
21} // extern "C++"
22
23#endif
24