beifg: Factorise code to count interference components.
[libfirm] / ir / adt / fourcc.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief       Define the famous infame FOURCC macro.
9  * @date        02.01.2004
10  */
11 #ifndef FIRM_ADT_FOURCC_H
12 #define FIRM_ADT_FOURCC_H
13
14 /** define a readable fourcc code */
15 #define FOURCC(a,b,c,d)         ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
16
17 #endif