touch up cdrom stuff for mingw64 once again (ny00123)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3946
This commit is contained in:
parent
6c0cca1878
commit
4aaa632bd9
2 changed files with 6 additions and 5 deletions
|
@ -32,10 +32,11 @@
|
|||
#include <ntddcdrm.h> // Ioctl stuff
|
||||
#include <ntddscsi.h>
|
||||
#include <winioctl.h> // Ioctl stuff
|
||||
#else
|
||||
#ifdef __MINGW64_VERSION_MAJOR
|
||||
#include <winioctl.h>
|
||||
#endif
|
||||
#elif (defined __MINGW64_VERSION_MAJOR)
|
||||
#include <winioctl.h> // Ioctl stuff
|
||||
#include <ntddcdrm.h> // Ioctl stuff
|
||||
#include <ntddscsi.h>
|
||||
#else
|
||||
#include "ddk/ntddcdrm.h" // Ioctl stuff
|
||||
#include "ddk/ntddscsi.h"
|
||||
#endif
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <windows.h>
|
||||
#include <io.h>
|
||||
|
||||
#if defined (_MSC_VER)
|
||||
#if (defined (_MSC_VER)) || (defined __MINGW64_VERSION_MAJOR)
|
||||
#include <ntddcdrm.h> // Ioctl stuff
|
||||
#include <winioctl.h> // Ioctl stuff
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue