
 /* macros.h
    - Include File for Handling Alien Graphic File Formats -
    (c) 1993-94 by Andreas R. Kleinert
    Last changes : 05.03.1994
 */

#ifndef MACROS_H
#define MACROS_H

#define ConvertWORD(x) ((x)<< 8 | (x)>> 8)
#define ConvertLONG(x) (  (((x) & 0xff000000)>>24)   \
                        | (((x) & 0x00ff0000)>>8)    \
                        | (((x) & 0x0000ff00)<<8)    \
                        | (((x) & 0x000000ff)<<24)   \
                       )

#endif /* MACROS_H */
