summaryrefslogtreecommitdiff
path: root/lib/cdabstract.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cdabstract.cpp')
-rw-r--r--lib/cdabstract.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cdabstract.cpp b/lib/cdabstract.cpp
index ce22fad..d7cf18e 100644
--- a/lib/cdabstract.cpp
+++ b/lib/cdabstract.cpp
@@ -25,7 +25,7 @@ bool cdabstract::canprobe() {
#ifdef __linux__
return true;
#endif
-#if defined (_MSC_VER) || defined (_MINGW32)
+#ifdef _WIN32
OSVERSIONINFO ov;
memset(&ov, 0, sizeof(OSVERSIONINFO));
ov.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
@@ -61,7 +61,7 @@ std::vector<String> cdabstract::probe() throw (GeneralException) {
}
#endif
-#if defined (_MSC_VER) || defined (__MINGW32__)
+#ifdef _WIN32
for (i = 'A'; i <= 'Z'; i++) {
probed.set("%c:\\", i);
if (subprobe(probed))
@@ -72,7 +72,7 @@ std::vector<String> cdabstract::probe() throw (GeneralException) {
return r;
}
-#if defined (_MSC_VER) || defined (__MINGW32__)
+#ifdef _WIN32
HANDLE cdabstract::OpenIOCTLFile(char cLetter) {
HANDLE hF;
char szFName[16];
@@ -151,7 +151,7 @@ bool cdabstract::subprobe(String & probed) {
}
#endif
-#if defined (_MSC_VER) || defined (__MINGW32__)
+#ifdef _WIN32
int iDA, iDT, iDL;
char letter[4];
HANDLE h;