refactored some common platform dependent stuff into a new

library:  platform.  also removed test.cpp.
This commit is contained in:
crs
2002-06-04 12:26:23 +00:00
parent c3649df304
commit 5709d8ddef
29 changed files with 476 additions and 424 deletions

11
platform/CPlatform.cpp Normal file
View File

@@ -0,0 +1,11 @@
#include "common.h"
#if defined(CONFIG_PLATFORM_WIN32)
#include "CWin32Platform.cpp"
#elif defined(CONFIG_PLATFORM_UNIX)
#include "CUnixPlatform.cpp"
#endif