From 2a2fd4f65be041d467532c0f19325978dbda7a5b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 27 Jun 2012 08:01:47 -0700 Subject: win32: assume STORAGE_DEVICE_NUMBER is defined If using mingw-w64 to build for win32, this will be defined. This is confusing, especially since mingw-w64 defined __MINGW32__ but nothing else... thus hide this definition for now. Signed-off-by: H. Peter Anvin --- win/syslinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win') diff --git a/win/syslinux.c b/win/syslinux.c index 26e5a278..c0c4fb23 100644 --- a/win/syslinux.c +++ b/win/syslinux.c @@ -50,7 +50,7 @@ void error(char *msg); // The following struct should be in the ntddstor.h file, but I didn't have it. // mingw32 has , but including that file causes all kinds // of other failures. mingw64 has it in . -#ifndef __x86_64__ +#if 0 /* Until we can figure out how to auto-detect this? */ typedef struct _STORAGE_DEVICE_NUMBER { DEVICE_TYPE DeviceType; ULONG DeviceNumber; -- cgit v1.2.1