containing the famous FOURCC macro
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 2 Dec 2004 14:39:27 +0000 (14:39 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 2 Dec 2004 14:39:27 +0000 (14:39 +0000)
[r4538]

ir/adt/fourcc.h [new file with mode: 0644]

diff --git a/ir/adt/fourcc.h b/ir/adt/fourcc.h
new file mode 100644 (file)
index 0000000..3d04f7a
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Project:     libFIRM
+ * File name:   ir/adt/fourcc.h
+ * Purpose:     define the famous infame FOURCC macro.
+ * Author:
+ * Modified by:
+ * Created:     02.01.2004
+ * CVS-ID:      $Id$
+ * Copyright:   (C) 2004 University of Karlsruhe
+ * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ */
+#ifndef _FOURCC_H
+#define _FOURCC_H
+
+#define FOURCC(a,b,c,d)         ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
+
+#endif /* _FOURCC_H */