diff options
Diffstat (limited to 'CPP/Windows/Defs.h')
-rwxr-xr-x | CPP/Windows/Defs.h | 2 |
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); } |