#ifndef __GNUWIN32__
#include <direct.h>
+#ifndef __MWERKS__
#include <dos.h>
+#endif
#endif //GNUWIN32
#ifdef __GNUWIN32__
if (majorVsn) *majorVsn = 0;
if (minorVsn) *minorVsn = 0;
-#ifdef WIN32
+#if defined(__WIN32__) && !defined(__SC__)
OSVERSIONINFO info;
memset(&info, 0, sizeof(OSVERSIONINFO));
info.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
return wxWINDOWS; // error if we get here, return generic value
#else
// Win16 code...
- int retValue ;
+ int retValue = 0;
# ifdef __WINDOWS_386__
retValue = wxWIN386;
# else
http://ftp.digital.com/pub/micro/NT/WinSite/programr/dbwin32.zip
*/
+#ifndef __MWERKS__
#include <process.h>
+#endif
void OutputDebugStringW95(const char* lpOutputString, ...)
{
WaitForSingleObject(heventDBWIN, INFINITE);
/* write it to the shared memory */
-#ifdef __BORLANDC__
+#if defined( __BORLANDC__ ) || defined( __MWERKS__ )
*((LPDWORD)lpszSharedMem) = getpid();
#else
*((LPDWORD)lpszSharedMem) = _getpid();