home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / includes / clib / macros.h < prev    next >
C/C++ Source or Header  |  1992-09-01  |  399b  |  20 lines

  1. #ifndef CLIB_MACROS_H
  2. #define CLIB_MACROS_H
  3. /*
  4. **    $Filename: clib/macros.h $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.0 $
  7. **    $Date: 90/11/30 $
  8. **
  9. **    C prototypes
  10. **
  11. **    (C) Copyright 1990-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #define MAX(a,b)    ((a)>(b)?(a):(b))
  16. #define MIN(a,b)    ((a)<(b)?(a):(b))
  17. #define ABS(x)        ((x<0)?(-(x)):(x))
  18.  
  19. #endif    /* CLIB_MACROS_H */
  20.