summaryrefslogtreecommitdiffhomepage
path: root/ir/adt/fourcc.h
blob: cf2f3de1997890ca763e8ac1f09962c67bc739b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * This file is part of libFirm.
 * Copyright (C) 2012 University of Karlsruhe.
 */

/**
 * @file
 * @brief       Define the famous infame FOURCC macro.
 * @date        02.01.2004
 */
#ifndef FIRM_ADT_FOURCC_H
#define FIRM_ADT_FOURCC_H

/** define a readable fourcc code */
#define FOURCC(a,b,c,d)         ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))

#endif