win32 fixes from g_thread_init() deprecation

I can't even begin to imagine how these fell through the cracks...
This commit is contained in:
Ryan Lortie
2011-10-04 15:44:48 -04:00
parent 1bf01efb9f
commit 2e5cb6f522
3 changed files with 2 additions and 27 deletions

View File

@@ -74,10 +74,8 @@
#ifdef G_OS_WIN32
#include <process.h> /* For getpid() */
#include <io.h>
# define STRICT /* Strict typing, please */
# define _WIN32_WINDOWS 0x0401 /* to get IsDebuggerPresent */
# include <windows.h>
# undef STRICT
#endif
@@ -114,9 +112,7 @@ static gpointer fatal_log_data;
/* --- functions --- */
#ifdef G_OS_WIN32
# define STRICT
# include <windows.h>
# undef STRICT
static gboolean win32_keep_fatal_message = FALSE;
/* This default message will usually be overwritten. */