Cygwin: cygserver: build with -Wimplicit-fallthrough=5

Define the pseudo keyword 'fallthrough' in woutsup.h to support this.
This commit is contained in:
Ken Brown
2020-08-07 09:48:28 -04:00
parent 1be41b802a
commit 225d376b70
4 changed files with 5 additions and 3 deletions

View File

@ -12,6 +12,8 @@ details. */
#error "woutsup.h is not for code being compiled inside the dll"
#endif
#define fallthrough __attribute__((__fallthrough__))
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif