mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
refactored some common platform dependent stuff into a new
library: platform. also removed test.cpp.
This commit is contained in:
11
platform/CPlatform.cpp
Normal file
11
platform/CPlatform.cpp
Normal 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
|
||||
Reference in New Issue
Block a user