aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/handle.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2022-12-16 11:38:54 +0100
committerFriedemann Kleint <[email protected]>2022-12-16 15:05:20 +0100
commitd082c3cbe8f9ad7987da11f108849952a56dfb20 (patch)
treec158960de081bded8f87cb021d8b06d736ef589b /sources/shiboken6/tests/libsample/handle.cpp
parent7786dbfad3fcef7c0e7cc1de172303f6e39bf334 (diff)
shiboken6/test: Rename typedef HANDLE in libsample
It clashes with the Windows HANDLE typedef in CMake UNITY_BUILD (jumbo) builds. Task-number: PYSIDE-2155 Change-Id: Ic5d6654651ead85aa08e2375510fe644cbf6dc3e Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'sources/shiboken6/tests/libsample/handle.cpp')
-rw-r--r--sources/shiboken6/tests/libsample/handle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/tests/libsample/handle.cpp b/sources/shiboken6/tests/libsample/handle.cpp
index e92c24c89..6ed8436a7 100644
--- a/sources/shiboken6/tests/libsample/handle.cpp
+++ b/sources/shiboken6/tests/libsample/handle.cpp
@@ -3,9 +3,9 @@
#include "handle.h"
-HANDLE HandleHolder::createHandle()
+SAMPLE_HANDLE HandleHolder::createHandle()
{
- return (HANDLE) new OBJ;
+ return (SAMPLE_HANDLE) new OBJ;
}
bool HandleHolder::compare(HandleHolder* other)