From 717a8a9d53b61fd59130a161215358e52aa063d1 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 19 May 2006 13:13:49 +0000 Subject: [PATCH] renamed CMP to QSORT_CMP to avoid name clash [r7784] --- ir/common/irtools.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ir/common/irtools.h b/ir/common/irtools.h index 7d7348482..1b40da600 100644 --- a/ir/common/irtools.h +++ b/ir/common/irtools.h @@ -6,11 +6,11 @@ * Modified by: * Created: * CVS-ID: $Id$ - * Copyright: (c) 1999-2005 Universität Karlsruhe + * Copyright: (c) 1999-2006 Universität Karlsruhe * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ -#ifndef _IRTOOLS_H_ -#define _IRTOOLS_H_ +#ifndef _FIRM_COMMON_IRTOOLS_H_ +#define _FIRM_COMMON_IRTOOLS_H_ #include "firm_config.h" #include "firm_types.h" @@ -31,7 +31,7 @@ lc_opt_entry_t *firm_opt_get_root(void); * @param d Another number. * @return 0 if c == d, -1 if c < d, 1 if c > d. */ -#define CMP(c, d) (((c) > (d)) - ((c) < (d))) +#define QSORT_CMP(c, d) (((c) > (d)) - ((c) < (d))) /** @@ -74,4 +74,4 @@ void copy_irn_to_irg(ir_node *n, ir_graph *irg); */ ir_node *exact_copy(ir_node *n); -#endif /* _IRTOOLS_H_ */ +#endif /* _FIRM_COMMON_IRTOOLS_H_ */ -- 2.20.1