1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
// This is vcl/vcl_cstdlib.h
#ifndef vcl_cstdlib_h_
#define vcl_cstdlib_h_
//:
// \file
//
// [26.5.4] In addition to the signatures from <stdlib.h> the C++
// header <cstdlib> adds the overloaded signatures :
// long abs(long); // labs()
// ldiv_t div(long, long); // ldiv()
//
// NB: size_t is declared in <cstddef>, not <cstdlib>
#include "vcl_compiler.h"
#if defined(VCL_STLPORT)
# include "stlport/vcl_cstdlib.h"
#elif defined(VCL_GCC) && !defined(GNU_LIBSTDCXX_V3)
# include "gcc/vcl_cstdlib.h"
#elif defined(VCL_SGI_CC)
# include "sgi/vcl_cstdlib.h"
#elif defined(VCL_SUNPRO_CC)
# include "sunpro/vcl_cstdlib.h"
#elif defined(VCL_VC60)
# include "win32-vc60/vcl_cstdlib.h"
#elif defined(VCL_VC71) // C++ .NET 2003 is iso compliant
# include "iso/vcl_cstdlib.h"
#elif defined(VCL_VC70) // C++ .NET earlier than 2003 is not iso compliant
# include "win32-vc70/vcl_cstdlib.h"
#elif defined(VCL_METRO_WERKS)
# include "mwerks/vcl_cstdlib.h"
// At this time, the borland build works much better with iso/vcl_cstdlib.h
// #elif defined(VCL_BORLAND)
// # include "borland55/vcl_cstdlib.h"
#else
# include "iso/vcl_cstdlib.h"
#endif
#endif // vcl_cstdlib_h_
|