You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
539 B
25 lines
539 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// File: defs.h
|
|
//
|
|
// Contents: Constant definitions.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef DEFS_H
|
|
#define DEFS_H
|
|
|
|
#undef MAX
|
|
#define MAX(a, b) ( (a) >= (b) ? a : b )
|
|
#undef MIN
|
|
#define MIN(a, b) ( (a) <= (b) ? a : b )
|
|
|
|
#ifndef ABS
|
|
#define ABS(x) ( (x) < 0 ? -(x) : x )
|
|
#endif
|
|
|
|
// debugging api calls
|
|
#define TF_API 0x10
|
|
#define TF_IMEAPI 0x20
|
|
|
|
#endif // DEFS_H
|