This commit is contained in:
commit
47aee91ef4
396 changed files with 32003 additions and 0 deletions
24
tools/psyq/include/ABS.H
Normal file
24
tools/psyq/include/ABS.H
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* File:abs.h
|
||||
*/
|
||||
/*
|
||||
* $PSLibId: Run-time Library Release 4.7$
|
||||
*/
|
||||
|
||||
#ifndef _ABS_H
|
||||
#define _ABS_H
|
||||
|
||||
#ifndef ABS
|
||||
#define ABS(x) (((x)>=0)?(x):(-(x)))
|
||||
#endif /* abs */
|
||||
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
extern int abs(int);
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ABS_H */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue