summaryrefslogtreecommitdiff
path: root/lib/cdabstract.cpp
diff options
context:
space:
mode:
authorpixel <pixel>2003-12-04 00:57:34 +0000
committerpixel <pixel>2003-12-04 00:57:34 +0000
commitf66e6dc084e365983de8dd29b3e83d515bc2f895 (patch)
tree8671ae5ebb6d2d65fc24eeb626ab12d7d2da2241 /lib/cdabstract.cpp
parent6741207a4acd174f12bad340be34ca1275a5e6cd (diff)
Completed the isobuilder class, and fixed stuff in the other iso code.
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;