Add simple infrastructure for arch-dependent code.

This commit is contained in:
Glenn Maynard
2002-11-17 08:20:34 +00:00
parent 9b2044b4ea
commit 2f91ba10f1
2 changed files with 38 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/*
* This file provides functions to create driver objects.
*/
#include "../stdafx.h"
#include "arch.h"
/* Load default drivers. */
#include "default/arch.h"
/* Override them with arch-specific drivers, as available. */
#if defined(WIN32)
#include "Win32/arch.h"
#endif
LoadingWindow *MakeLoadingWindow() { return new ARCH_LOADING_WINDOW; }
/*
* Copyright (c) 2002 by the person(s) listed below. All rights reserved.
*
* Glenn Maynard
*/