break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff

This commit is contained in:
Chris Danford
2005-12-16 04:16:09 +00:00
parent ddce0cc239
commit 353e0c5b6e
55 changed files with 647 additions and 327 deletions
+6 -4
View File
@@ -1,9 +1,11 @@
#include "global.h"
#if defined(_WINDOWS)
# define _WIN32_WINDOWS 0x0410 // include Win98 stuff
# include "windows.h"
# include "archutils/Win32/Crash.h"
# if defined(CRASH_HANDLER)
# define _WIN32_WINDOWS 0x0410 // include Win98 stuff
# include "windows.h"
# include "archutils/Win32/Crash.h"
# endif
#elif defined(_XBOX)
#else
# include <unistd.h>
@@ -15,7 +17,7 @@
void NORETURN sm_crash( const char *reason )
{
#if defined(_WINDOWS)
#if defined(_WINDOWS) && defined(CRASH_HANDLER)
/* If we're being debugged, throw a debug break so it'll suspend the process. */
if( IsDebuggerPresent() )
{