summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllen Winter <winterz@kde.org>2022-02-18 15:03:48 -0500
committerAllen Winter <winterz@kde.org>2022-02-18 15:03:48 -0500
commit9f3b1c181d0f7e2f1e097f04cfbac9586c82840f (patch)
tree4166e6e77b9df390941242767d37a548fc2bc4ad /scripts
parent17f9f15d81e7fabafb86fbb9e494ed427dfe9750 (diff)
downloadlibical-git-9f3b1c181d0f7e2f1e097f04cfbac9586c82840f.tar.gz
scripts/buildtests.sh - add ICALMEMORY_DEFAULT defines
needed to make cppcheck happy
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index 5b062505..9097fdca 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -314,6 +314,9 @@ CPPCHECK() {
-D PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP=0 \
-D _unused="(void)" \
-D _deprecated="(void)" \
+ -D ICALMEMORY_DEFAULT_FREE="free" \
+ -D ICALMEMORY_DEFAULT_MALLOC="malloc" \
+ -D ICALMEMORY_DEFAULT_REALLOC="realloc" \
-D F_OK=0 \
-D R_OK=0 \
-U YYSTYPE \