From 57902eae858e357767156d68f4f0a9f914c43b8c Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sun, 25 Feb 2024 07:51:46 +0100 Subject: [PATCH] [0.4.9][BTRFS] It is _WIN32_WINNT, not WIN32_WINNT CORE-12589 CORE-12580 This is *no* functional change: I verified with a #pragma message "test" locally within that block that the compilers output does not change before and after those changes. The binary also do not change in size. After this commit no such issue remains in releases/0.4.9 [BTRFS] It is _WIN32_WINNT, not WIN32_WINNT CORE-12589 This is a partial port of: 0.4.10-dev-36-g c7806a6b29a802b6fedcaf6fdd6b4aba0c8a20ce CORE-12589 'drivers/filesystems/btrfs/fsctl.c: 1 _WIN32_WINNT is misspelled as WIN32_WINNT' --- drivers/filesystems/btrfs/fsctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/filesystems/btrfs/fsctl.c b/drivers/filesystems/btrfs/fsctl.c index 87556c47e15..6cc0f45ab18 100644 --- a/drivers/filesystems/btrfs/fsctl.c +++ b/drivers/filesystems/btrfs/fsctl.c @@ -5065,7 +5065,7 @@ NTSTATUS fsctl_request(PDEVICE_OBJECT DeviceObject, PIRP* Pirp, UINT32 type) { Status = STATUS_INVALID_DEVICE_REQUEST; break; -#if WIN32_WINNT >= 0x0600 +#if _WIN32_WINNT >= 0x0600 case FSCTL_MAKE_MEDIA_COMPATIBLE: WARN("STUB: FSCTL_MAKE_MEDIA_COMPATIBLE\n"); Status = STATUS_INVALID_DEVICE_REQUEST;