* include/winnt.h (EVENT_*, SEMAPHORE_*, MUTEX_*): Remove
more defines added in earlier 2002-05-02 change. * lib/Makefile.in (TEST_OPTIONS): Add -Wsystem-headers flag.
This commit is contained in:
parent
08d528a57c
commit
4c956a7c0f
|
@ -1,3 +1,9 @@
|
|||
2002-05-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/winnt.h (EVENT_*, SEMAPHORE_*,MUTEX_*): Remove
|
||||
more defines added in earlier change.
|
||||
* lib/Makefile.in (TEST_OPTIONS): Add -Wsystem-headers flag.
|
||||
|
||||
2002-05-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/winnt.h (THREAD_PRIORITY_*): Remove defines
|
||||
|
|
|
@ -281,14 +281,8 @@ typedef BYTE BOOLEAN,*PBOOLEAN;
|
|||
#define THREAD_BASE_PRIORITY_IDLE -15
|
||||
#define EXCEPTION_NONCONTINUABLE 1
|
||||
#define EXCEPTION_MAXIMUM_PARAMETERS 15
|
||||
#define EVENT_MODIFY_STATE 0x0002
|
||||
#define EVENT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3)
|
||||
#define MUTANT_QUERY_STATE 0x0001
|
||||
#define MUTANT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|MUTANT_QUERY_STATE)
|
||||
#define SEMAPHORE_MODIFY_STATE 0x0002
|
||||
#define SEMAPHORE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3)
|
||||
#define MUTEX_MODIFY_STATE MUTANT_QUERY_STATE
|
||||
#define MUTEX_ALL_ACCESS MUTANT_ALL_ACCESS
|
||||
#define TIMER_QUERY_STATE 0x0001
|
||||
#define TIMER_MODIFY_STATE 0x0002
|
||||
#define TIMER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|TIMER_QUERY_STATE|TIMER_MODIFY_STATE)
|
||||
|
|
|
@ -106,7 +106,7 @@ DISTFILES = Makefile.in $(DEF_FILES) $(SOURCES)
|
|||
# targets
|
||||
all: $(LIBS) $(EXTRA_OBJS)
|
||||
|
||||
TEST_OPTIONS = $(ALL_CFLAGS) -Wall -pedantic -c $(srcdir)/test.c -o test.o
|
||||
TEST_OPTIONS = $(ALL_CFLAGS) -Wall -pedantic -Wsystem-headers -c $(srcdir)/test.c -o test.o
|
||||
.PHONY: test
|
||||
test:
|
||||
@echo "Testing w32api..."
|
||||
|
|
Loading…
Reference in New Issue