home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / compiler / aros / include / 64bit.h next >
Encoding:
C/C++ Source or Header  |  1997-02-07  |  814 b   |  31 lines

  1. #ifndef AROS_64BIT_H
  2. #define AROS_64BIT_H
  3.  
  4. /*
  5.     (C) 1995-96 AROS - The Amiga Replacement OS
  6.     $Id: 64bit.h,v 1.1 1997/01/09 18:21:14 digulla Exp $
  7.     $Log: 64bit.h,v $
  8.     Revision 1.1  1997/01/09 18:21:14  digulla
  9.     Accidentially deleted :-( Shouldn't work when it's getting late
  10.  
  11.     Revision 1.1  1996/09/13 17:54:34  digulla
  12.     Overworked the way systems are recognised and added three sample systems
  13.  
  14.  
  15.     Desc: Work on 64bit data types
  16.     Lang: english
  17. */
  18. #ifndef EXEC_TYPES_H
  19. #   include <exec/types.h>
  20. #endif
  21.  
  22. #if defined(AROS_64BIT_TYPE) || defined(__GNUC__)
  23. #   define LOW32OF64(val64)     ((val64) & 0xFFFFFFFF)
  24. #   define HIGH32OF64(val64)    ((val64) >> 32L)
  25. #else
  26. #   define LOW32OF64(val64)     ((val64).low)
  27. #   define HIGH32OF64(val64)    ((val64).high)
  28. #endif
  29.  
  30. #endif /* AROS_64BIT_H */
  31.