From 33c204f3f48520caec1c852cbbc5c8e85ebda22f Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 2 Dec 2004 14:39:27 +0000 Subject: [PATCH] containing the famous FOURCC macro [r4538] --- ir/adt/fourcc.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ir/adt/fourcc.h diff --git a/ir/adt/fourcc.h b/ir/adt/fourcc.h new file mode 100644 index 000000000..3d04f7a6e --- /dev/null +++ b/ir/adt/fourcc.h @@ -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 */ -- 2.20.1