diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-05-02 08:41:03 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-05-02 08:41:03 +0000 |
commit | 4c956a7c0f8a9f1cb66abfb055c2ad24566032b5 (patch) | |
tree | b372a5f3a2bc753a1c9bd598d81b120306a85cfb /winsup/w32api | |
parent | 08d528a57cd524123076404745f97c9e49907db9 (diff) | |
download | newlib-4c956a7c0f8a9f1cb66abfb055c2ad24566032b5.zip newlib-4c956a7c0f8a9f1cb66abfb055c2ad24566032b5.tar.gz newlib-4c956a7c0f8a9f1cb66abfb055c2ad24566032b5.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/winnt.h | 6 | ||||
-rw-r--r-- | winsup/w32api/lib/Makefile.in | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 2ed0c84..d6cf8d1 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,11 @@ 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 added in last change. diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index b19f284..78fb0c6 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -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) diff --git a/winsup/w32api/lib/Makefile.in b/winsup/w32api/lib/Makefile.in index fd1e6b7..ddb0d82 100644 --- a/winsup/w32api/lib/Makefile.in +++ b/winsup/w32api/lib/Makefile.in @@ -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..." |