diff options
Diffstat (limited to 'include/systools/win32/uwinapi.h')
-rw-r--r-- | include/systools/win32/uwinapi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/systools/win32/uwinapi.h b/include/systools/win32/uwinapi.h index 3134609908f1..d48bb7a457ec 100644 --- a/include/systools/win32/uwinapi.h +++ b/include/systools/win32/uwinapi.h @@ -29,14 +29,14 @@ inline bool IsValidHandle(HANDLE handle) { - return handle != INVALID_HANDLE_VALUE && handle != NULL; + return handle != INVALID_HANDLE_VALUE && handle != NULL; } -#else /* __cplusplus */ +#else /* __cplusplus */ -#define IsValidHandle(Handle) ((DWORD_PTR)(Handle) + 1 > 1) +#define IsValidHandle(Handle) ((DWORD_PTR)(Handle) + 1 > 1) -#endif /* __cplusplus */ +#endif /* __cplusplus */ #endif // INCLUDED_SYSTOOLS_WIN32_UWINAPI_H |