[BTRFS]: Fix compilation with MSVC too, as we don't have the 'FileFsSectorSizeInforma...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 30 Oct 2016 14:14:27 +0000 (14:14 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 30 Oct 2016 14:14:27 +0000 (14:14 +0000)
CORE-12223 #comment MSVC compilation fixed in r73078 ('FileFsSectorSizeInformation' absent in our headers).

svn path=/trunk/; revision=73078

reactos/drivers/filesystems/btrfs/btrfs.c

index 6611438..ed8a283 100644 (file)
@@ -716,7 +716,8 @@ static NTSTATUS STDCALL drv_query_volume_information(IN PDEVICE_OBJECT DeviceObj
             Status = overflow ? STATUS_BUFFER_OVERFLOW : STATUS_SUCCESS;
             break;
         }
-        
+
+#ifndef __REACTOS__
 #ifdef _MSC_VER // not in mingw yet
         case FileFsSectorSizeInformation:
         {
@@ -739,6 +740,7 @@ static NTSTATUS STDCALL drv_query_volume_information(IN PDEVICE_OBJECT DeviceObj
             break;
         }
 #endif
+#endif /* __REACTOS__ */
 
         default:
             Status = STATUS_INVALID_PARAMETER;