From f98310227b819e58303f90fd2ee925806f83b9eb Mon Sep 17 00:00:00 2001 From: schnetter Date: Sun, 13 Aug 2006 22:41:05 +0000 Subject: Prevent name clash for the macro SWAP. SWAP was already defined in TP_utilities.h, but unused. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@65 b2a53a04-0f4f-0410-87ed-f9f25ced00cf --- src/TwoPunctures.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c index 620d08d..2a365f7 100644 --- a/src/TwoPunctures.c +++ b/src/TwoPunctures.c @@ -20,6 +20,7 @@ CCTK_REAL swap (CCTK_REAL * const a, CCTK_REAL * const b) { CCTK_REAL const t = *a; *a=*b; *b=t; } +#undef SWAP #define SWAP(a,b) (swap(&(a),&(b))) -- cgit v1.2.3