aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-08-13 22:41:05 +0000
committerschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-08-13 22:41:05 +0000
commitf98310227b819e58303f90fd2ee925806f83b9eb (patch)
tree80d48fcead9a6bae53d55a73be2cbe7dbbca1788 /src
parent63e58a46fd71af832dcf64d4833372a59e7fc40f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/TwoPunctures.c1
1 files changed, 1 insertions, 0 deletions
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)))