summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/String.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/String.c b/src/util/String.c
index 1d9fc67b..61cdabd0 100644
--- a/src/util/String.c
+++ b/src/util/String.c
@@ -17,8 +17,10 @@
static const char *rcsid = "$Header$";
-#if defined(TEST_UTIL_STRSEP) \
- || defined(TEST_UTIL_STRLCPY) || defined(TEST_UTIL_STRLCAT)
+#if defined(STANDALONE_TEST) \
+ || defined(TEST_UTIL_STRSEP) \
+ || defined(TEST_UTIL_STRLCPY) \
+ || defined(TEST_UTIL_STRLCAT)
/*
* we're just compiling a standalone test driver
* ==> we don't need CCTK_FILEVERSION()