MiscMacros.h 291 B

123456789101112131415
  1. #if !defined _MISCMACROS_H
  2. #define _MISCMACROS_H
  3. #if defined ___4278
  4. #undef ___4278
  5. #endif
  6. #define ___4278(___2971) ((void)___2971)
  7. #if defined MIN
  8. #undef MIN
  9. #endif
  10. #if defined MAX
  11. #undef MAX
  12. #endif
  13. #define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  14. #define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  15. #endif