/*
- * 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.
+ * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
*/
-#ifndef _FOURCC_H
-#define _FOURCC_H
-#include "firm_config.h"
+/**
+ * @file
+ * @brief Define the famous infame FOURCC macro.
+ * @date 02.01.2004
+ * @version $Id$
+ */
+#ifndef FIRM_ADT_FOURCC_H
+#define FIRM_ADT_FOURCC_H
-/* define an always readable fourcc code */
-#ifdef WORDS_BIGENDIAN
-#define FOURCC(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((a) << 24))
-#else
+/** define a readable fourcc code */
#define FOURCC(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24))
-#endif
-#endif /* _FOURCC_H */
+#endif