Merged in teepean/pcem-msys2 (pull request #4)

Fix compilation with MSYS2
This commit is contained in:
pcem_emulator 2017-12-14 18:28:48 +00:00
commit 25a332f556

View file

@ -2,7 +2,7 @@
#include <windows.h>
#include <io.h>
#ifdef __MINGW64__
#ifdef __MINGW64_VERSION_MAJOR
#include "ntddcdrm.h"
#include "ntddscsi.h"
#else
@ -16,7 +16,7 @@
int cdrom_drive;
int old_cdrom_drive;
#ifndef __MINGW64__
#ifndef __MINGW64_VERSION_MAJOR
typedef struct _CDROM_TOC_SESSION_DATA {
UCHAR Length[2];
UCHAR FirstCompleteSession;