Merged in teepean/pcem-msys2 (pull request #4)
Fix compilation with MSYS2
This commit is contained in:
commit
25a332f556
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#ifdef __MINGW64__
|
#ifdef __MINGW64_VERSION_MAJOR
|
||||||
#include "ntddcdrm.h"
|
#include "ntddcdrm.h"
|
||||||
#include "ntddscsi.h"
|
#include "ntddscsi.h"
|
||||||
#else
|
#else
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
int cdrom_drive;
|
int cdrom_drive;
|
||||||
int old_cdrom_drive;
|
int old_cdrom_drive;
|
||||||
|
|
||||||
#ifndef __MINGW64__
|
#ifndef __MINGW64_VERSION_MAJOR
|
||||||
typedef struct _CDROM_TOC_SESSION_DATA {
|
typedef struct _CDROM_TOC_SESSION_DATA {
|
||||||
UCHAR Length[2];
|
UCHAR Length[2];
|
||||||
UCHAR FirstCompleteSession;
|
UCHAR FirstCompleteSession;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue