Leaked source code of windows server 2003
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

  1. //+---------------------------------------------------------------------------
  2. //
  3. // File: defs.h
  4. //
  5. // Contents: Constant definitions.
  6. //
  7. //----------------------------------------------------------------------------
  8. #ifndef DEFS_H
  9. #define DEFS_H
  10. #undef MAX
  11. #define MAX(a, b) ( (a) >= (b) ? a : b )
  12. #undef MIN
  13. #define MIN(a, b) ( (a) <= (b) ? a : b )
  14. #ifndef ABS
  15. #define ABS(x) ( (x) < 0 ? -(x) : x )
  16. #endif
  17. // debugging api calls
  18. #define TF_API 0x10
  19. #define TF_IMEAPI 0x20
  20. #endif // DEFS_H