diff options
author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2023-06-21 00:00:00 +0000 |
---|---|---|
committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2023-12-17 14:59:19 +0500 |
commit | 5b39dc76f1bc82f941d5c800ab9f34407a06b53a (patch) | |
tree | fe5e17420300b715021a76328444088d32047963 /CPP/Windows/Defs.h | |
parent | 93be7d4abfd4233228f58ee1fbbcd76d91be66a4 (diff) | |
download | 7zip-5b39dc76f1bc82f941d5c800ab9f34407a06b53a.tar.gz 7zip-5b39dc76f1bc82f941d5c800ab9f34407a06b53a.tar.bz2 7zip-5b39dc76f1bc82f941d5c800ab9f34407a06b53a.zip |
23.0123.01
Diffstat (limited to 'CPP/Windows/Defs.h')
-rw-r--r-- | CPP/Windows/Defs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CPP/Windows/Defs.h b/CPP/Windows/Defs.h index 1d96078..8ab9cf5 100644 --- a/CPP/Windows/Defs.h +++ b/CPP/Windows/Defs.h | |||
@@ -1,12 +1,11 @@ | |||
1 | // Windows/Defs.h | 1 | // Windows/Defs.h |
2 | 2 | ||
3 | #ifndef __WINDOWS_DEFS_H | 3 | #ifndef ZIP7_INC_WINDOWS_DEFS_H |
4 | #define __WINDOWS_DEFS_H | 4 | #define ZIP7_INC_WINDOWS_DEFS_H |
5 | 5 | ||
6 | #include "../Common/MyWindows.h" | 6 | #include "../Common/MyWindows.h" |
7 | 7 | ||
8 | #ifdef _WIN32 | 8 | #ifdef _WIN32 |
9 | inline bool LRESULTToBool(LRESULT v) { return (v != FALSE); } | ||
10 | inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); } | 9 | inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); } |
11 | #endif | 10 | #endif |
12 | 11 | ||