diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/Collections.cpp | 3 | ||||
-rw-r--r-- | src/tests/Hash.cpp | 2 | ||||
-rw-r--r-- | src/tests/Lock.cpp | 2 | ||||
-rw-r--r-- | src/tests/Resample.cpp | 3 | ||||
-rw-r--r-- | src/tests/TestLink.cpp | 2 |
5 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/Collections.cpp b/src/tests/Collections.cpp index ef6a5228d..8703ab41e 100644 --- a/src/tests/Collections.cpp +++ b/src/tests/Collections.cpp @@ -120,3 +120,6 @@ int main(int argc, char **argv) { } qWarning("QListSet: %lldus insert, %lldus iterate: %d", usins, usiter, sum); } + +#undef SL +#undef NE diff --git a/src/tests/Hash.cpp b/src/tests/Hash.cpp index 6f4908b04..91065721d 100644 --- a/src/tests/Hash.cpp +++ b/src/tests/Hash.cpp @@ -85,3 +85,5 @@ int main(int argc, char **argv) { } #include "Hash.moc" + +#undef ITER diff --git a/src/tests/Lock.cpp b/src/tests/Lock.cpp index 26897f5cb..c862f0ab2 100644 --- a/src/tests/Lock.cpp +++ b/src/tests/Lock.cpp @@ -111,3 +111,5 @@ int main(int argc, char **argv) { } // #include "Lock.moc" + +#undef ITER diff --git a/src/tests/Resample.cpp b/src/tests/Resample.cpp index cb0c72d90..ec0f256cd 100644 --- a/src/tests/Resample.cpp +++ b/src/tests/Resample.cpp @@ -131,3 +131,6 @@ int main(int argc, char **argv) { return 0; } + +#undef _USE_MATH_DEFINES +#undef ITER diff --git a/src/tests/TestLink.cpp b/src/tests/TestLink.cpp index 10f1f6a28..cc2faea47 100644 --- a/src/tests/TestLink.cpp +++ b/src/tests/TestLink.cpp @@ -152,3 +152,5 @@ int main(int argc, char **argv) { #endif } } + +#undef _CRT_SECURE_NO_WARNINGS |