mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-19 08:51:41 +03:00
5709d8ddef
library: platform. also removed test.cpp.
19 lines
274 B
C
19 lines
274 B
C
#ifndef CPLATFORM_H
|
|
#define CPLATFORM_H
|
|
|
|
#include "common.h"
|
|
|
|
#if defined(CONFIG_PLATFORM_WIN32)
|
|
|
|
#include "CWin32Platform.h"
|
|
typedef CWin32Platform CPlatform;
|
|
|
|
#elif defined(CONFIG_PLATFORM_UNIX)
|
|
|
|
#include "CUnixPlatform.h"
|
|
typedef CUnixPlatform CPlatform;
|
|
|
|
#endif
|
|
|
|
#endif
|