* include/winnt.h (HANDLE): Define based on STRICT filter.

(THREAD_BASE_PRIORITY_MIN): Use parens around negative value.
	(THREAD_BASE_PRIOIRTY_IDLE): Ditto.
This commit is contained in:
Earnie Boyd 2003-07-11 11:56:00 +00:00
parent e47d564835
commit 57552a7378
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-07-11 Earnie Boyd <earnie@users.sf.net>
* include/winnt.h (HANDLE): Define based on STRICT filter.
(THREAD_BASE_PRIORITY_MIN): Use parens around negative value.
(THREAD_BASE_PRIOIRTY_IDLE): Ditto.
2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/commctrl.h (NMTVDISPINFO[AW]): Replace obsolete struct

View File

@ -116,11 +116,12 @@ typedef const TCHAR *LPCTSTR;
#define TEXT(q) __TEXT(q)
typedef SHORT *PSHORT;
typedef LONG *PLONG;
typedef void *HANDLE;
typedef HANDLE *PHANDLE,*LPHANDLE;
#ifdef STRICT
typedef void *HANDLE;
#define DECLARE_HANDLE(n) typedef struct n##__{int i;}*n
#else
typedef PVOID HANDLE;
#define DECLARE_HANDLE(n) typedef HANDLE n
#endif
typedef DWORD LCID;
@ -289,8 +290,8 @@ typedef DWORD FLONG;
#define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3FF)
#define THREAD_BASE_PRIORITY_LOWRT 15
#define THREAD_BASE_PRIORITY_MAX 2
#define THREAD_BASE_PRIORITY_MIN -2
#define THREAD_BASE_PRIORITY_IDLE -15
#define THREAD_BASE_PRIORITY_MIN (-2)
#define THREAD_BASE_PRIORITY_IDLE (-15)
#define EXCEPTION_NONCONTINUABLE 1
#define EXCEPTION_MAXIMUM_PARAMETERS 15
#define MUTANT_QUERY_STATE 0x0001