]> gcc.gnu.org Git - gcc.git/blob - libstdc++/cstdlib
config.table: Make locating frag files failsafe even for the special case if...
[gcc.git] / libstdc++ / cstdlib
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
12 extern "C++" {
13
14 #if _G_HAS_LABS
15 inline long abs(long x) { return labs (x); }
16 #else
17 inline 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
This page took 0.041095 seconds and 5 git commands to generate.