aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/Defs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Windows/Defs.h5
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
9inline bool LRESULTToBool(LRESULT v) { return (v != FALSE); }
10inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); } 9inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); }
11#endif 10#endif
12 11