diff options
author | Allen Winter <winterz@kde.org> | 2022-02-18 15:03:48 -0500 |
---|---|---|
committer | Allen Winter <winterz@kde.org> | 2022-02-18 15:03:48 -0500 |
commit | 9f3b1c181d0f7e2f1e097f04cfbac9586c82840f (patch) | |
tree | 4166e6e77b9df390941242767d37a548fc2bc4ad | |
parent | 17f9f15d81e7fabafb86fbb9e494ed427dfe9750 (diff) | |
download | libical-git-9f3b1c181d0f7e2f1e097f04cfbac9586c82840f.tar.gz |
scripts/buildtests.sh - add ICALMEMORY_DEFAULT defines
needed to make cppcheck happy
-rwxr-xr-x | scripts/buildtests.sh | 3 |
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 \ |