From: Biswapriyo Nath <nathbappai@gmail.com>
To: cygwin-developers@cygwin.com
Cc: nathbappai@gmail.com
Subject: [PATCH] Cygwin: Fix compiling with w32api-headers v11.0.0
Date: Sat, 29 Apr 2023 18:52:50 +0530 [thread overview]
Message-ID: <20230429132250.842-1-nathbappai@gmail.com> (raw)
This solves redefinition of FILE_CS_FLAG_CASE_SENSITIVE_DIR in winnt.h
and fixes the following compiler errors
ntdll.h:523:3: error: expected identifier before numeric constant
523 | FILE_CS_FLAG_CASE_SENSITIVE_DIR = 0x01
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ntdll.h:522:1: note: to match this ‘{’
522 | {
| ^
---
winsup/cygwin/local_includes/ntdll.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/winsup/cygwin/local_includes/ntdll.h b/winsup/cygwin/local_includes/ntdll.h
index 8c4d008..488e659 100644
--- a/winsup/cygwin/local_includes/ntdll.h
+++ b/winsup/cygwin/local_includes/ntdll.h
@@ -518,11 +518,6 @@ enum
FILE_RENAME_IGNORE_READONLY_ATTRIBUTE = 0x40
};
-enum
-{
- FILE_CS_FLAG_CASE_SENSITIVE_DIR = 0x01
-};
-
enum
{
FILE_PIPE_QUEUE_OPERATION = 0,
--
2.40.1
next reply other threads:[~2023-04-29 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-29 13:22 Biswapriyo Nath [this message]
2023-04-29 15:40 ` Jon Turney
2023-04-29 18:33 ` Biswapriyo Nath
2023-05-01 17:19 ` Jon Turney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230429132250.842-1-nathbappai@gmail.com \
--to=nathbappai@gmail.com \
--cc=cygwin-developers@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).