vcl_cstdlib.h

来自「DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.」· C头文件 代码 · 共 31 行

H
31
字号
#ifndef vcl_stlport_cstdlib_h_
#define vcl_stlport_cstdlib_h_

#if defined (VCL_GCC)
# include "../gcc/vcl_cstdlib.h"

#elif VCL_VC60
# define vcl_generic_cstdlib_STD /* */
# include "../generic/vcl_cstdlib.h"

# include <stdlib.h>
# undef  vcl_abs
inline int vcl_abs(int x) { return x >= 0 ? x : -x; }
inline long vcl_abs(long x) { return x >= 0 ? x : -x; }
# define vcl_abs vcl_abs

//#undef  vcl_div
//#define vcl_div vcl_div
//inline div_t vcl_div(int x, int y) { return ::div(x,y); }
//inline ldiv_t vcl_div(long x, long y) { return ::ldiv(x,y); }

//#undef  vcl_ldiv
//#define vcl_ldiv vcl_ldiv
//inline ldiv_t vcl_ldiv(long x, long y) { return ::ldiv(x,y); }

#else
#include "../iso/vcl_cmath.h"
#endif

#endif // vcl_stlport_cstdlib_h_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?