summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorghazan <ghazan@miranda.im>2022-02-27 12:30:11 +0300
committerghazan <ghazan@miranda.im>2022-02-27 12:30:11 +0300
commitbdf8bfec61c37a4f7f18a7f45523cb9d44706fe7 (patch)
treed893fe01e1c8c5509868b302ed509550cd6731ea /include
parent8b89b88e8a88f23830623b95b37ee52c2ffe3823 (diff)
more code cleaning
Diffstat (limited to 'include')
-rw-r--r--include/m_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_types.h b/include/m_types.h
index 494e2fdda2..1aa311feb2 100644
--- a/include/m_types.h
+++ b/include/m_types.h
@@ -48,6 +48,7 @@ using namespace std;
#define SW_HIDE 0
#define SW_SHOW 5
#define MAX_PATH 260
+#define LR_SHARED 0x8000
#define LF_FACESIZE 32
#define _TRUNCATE size_t(-1)
#define INVALID_HANDLE_VALUE HANDLE(-1)
@@ -84,6 +85,7 @@ struct LOGFONTW;
#define _Pre_notnull_
#define _Always_(x)
#define _Printf_format_string_
+#define _countof(array) (sizeof(array) / sizeof(array[0]))
#define __forceinline inline __attribute__ ((always_inline))
#define InterlockedIncrement(x) __sync_fetch_and_add(x, 1)