Reorganize arch a bit. Multiple architectures might want to share
a non-default implementation of a driver, and organizing them by architecture doesn't handle that very well.
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
#include "arch.h"
|
||||
|
||||
/* Load default drivers. */
|
||||
#include "default/arch.h"
|
||||
#include "arch_default.h"
|
||||
|
||||
/* Override them with arch-specific drivers, as available. */
|
||||
#if defined(WIN32)
|
||||
#include "Win32/arch.h"
|
||||
#include "arch_Win32.h"
|
||||
#endif
|
||||
|
||||
LoadingWindow *MakeLoadingWindow() { return new ARCH_LOADING_WINDOW; }
|
||||
|
||||
Reference in New Issue
Block a user