home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / cbm / nduk-v37.lha / V37 / include / clib / macros.h < prev    next >
C/C++ Source or Header  |  1991-11-27  |  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.