summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-06-08 12:55:21 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-06-08 12:55:21 +0000
commit33c4f163205c84c775ec1168be1b4e274e553a30 (patch)
tree97a89364de83fe6cd0534f25297316401da319ef /include
parent9e46f2867a9c84436cb7f2a0a71c45ffee041030 (diff)
fix typedefs
git-svn-id: http://svn.miranda-ng.org/main/trunk@16944 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_types.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/m_types.h b/include/m_types.h
index 1e5f8ae556..0ace07329f 100644
--- a/include/m_types.h
+++ b/include/m_types.h
@@ -29,14 +29,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define FALSE 0
#define TRUE 1
-typedef void* HANDLE, HICON, HBITMAP;
+typedef void *HANDLE, *HINSTANCE, *HICON, *HBITMAP, *HWND, *HGENMENU;
typedef int BOOL;
+typedef unsigned char BYTE;
typedef unsigned int DWORD;
-typedef intptr_t WPARAM, LPARAM;
-typedef char* LPSTR;
-typedef const char* LPCSTR;
-typedef wchar_t* LPWSTR, LPTSTR;
-typedef const wchar_t* LPCWSTR, LPCTSTR;
+typedef intptr_t WPARAM, LPARAM, INT_PTR;
+typedef char *LPSTR;
+typedef const char *LPCSTR;
+typedef wchar_t *LPWSTR, *LPTSTR;
+typedef const wchar_t *LPCWSTR, *LPCTSTR;
#endif