+2003-01-24 Martin Baulig <martin@ximian.com>
+
+ * debug.c (mono_debug_io_layer): Disable this on Windows.
+
2003-01-23 Dick Porter <dick@ximian.com>
* mono.c: Use mono_runtime_exec_managed_code() to run all managed
void (*mono_debugger_event_handler) (MonoDebuggerEvent event, gpointer data, gpointer data2) = NULL;
+#ifndef PLATFORM_WIN32
+
MonoDebuggerIOLayer mono_debugger_io_layer = {
InitializeCriticalSection, DeleteCriticalSection, TryEnterCriticalSection,
EnterCriticalSection, LeaveCriticalSection, WaitForSingleObject, SignalObjectAndWait,
WaitForMultipleObjects, CreateSemaphore, ReleaseSemaphore, CreateThread
};
+#endif
+
void
mono_debugger_event (MonoDebuggerEvent event, gpointer data, gpointer data2)
{
MONO_DEBUGGER_EVENT_THREAD_CREATED
} MonoDebuggerEvent;
+#ifndef PLATFORM_WIN32
+
/*
* Functions we export to the debugger.
*/
extern MonoDebuggerIOLayer mono_debugger_io_layer;
+#endif
+
extern void (*mono_debugger_event_handler) (MonoDebuggerEvent event, gpointer data, gpointer data2);
extern MonoDebugFormat mono_debug_format;