diff options
author | Friedemann Kleint <[email protected]> | 2022-12-19 09:15:57 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2022-12-19 11:12:39 +0100 |
commit | 5ef2f78f7d0172683d6ae63314530844c48c548e (patch) | |
tree | e053a85d31754e4158990c815a967b2ae8e8d6ec /sources/shiboken6/libshiboken/helper.cpp | |
parent | 7c670b40b9fc2681260d0fdbcc275afd9bf6c2e8 (diff) |
Clean up include statements
- Remove some unused include statements
- Replace C-headers (string.h) by the C++ versions (cstring)
- Use WIN32_LEAN_AND_MEAN for windows.h
Task-number: PYSIDE-2155
Change-Id: I8085e36f336d227218abb6c06cdd52d24c0761f4
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'sources/shiboken6/libshiboken/helper.cpp')
-rw-r--r-- | sources/shiboken6/libshiboken/helper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken6/libshiboken/helper.cpp b/sources/shiboken6/libshiboken/helper.cpp index a9ab9eca2..378511010 100644 --- a/sources/shiboken6/libshiboken/helper.cpp +++ b/sources/shiboken6/libshiboken/helper.cpp @@ -18,6 +18,9 @@ # ifndef NOMINMAX # define NOMINMAX # endif +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# endif # include <windows.h> #else # include <pthread.h> |