Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/Defs.h')
-rwxr-xr-xCPP/Windows/Defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/Windows/Defs.h b/CPP/Windows/Defs.h
index f8c6daaa..898be8d7 100755
--- a/CPP/Windows/Defs.h
+++ b/CPP/Windows/Defs.h
@@ -6,8 +6,10 @@
inline bool BOOLToBool(BOOL value)
{ return (value != FALSE); }
+#ifdef _WIN32
inline bool LRESULTToBool(LRESULT value)
{ return (value != FALSE); }
+#endif
inline BOOL BoolToBOOL(bool value)
{ return (value ? TRUE: FALSE); }