From f66e6dc084e365983de8dd29b3e83d515bc2f895 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 4 Dec 2003 00:57:34 +0000 Subject: Completed the isobuilder class, and fixed stuff in the other iso code. --- lib/cdabstract.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/cdabstract.cpp') 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 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 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; -- cgit v1.2.3