2017-05-10 00:28:40 +02:00
|
|
|
/* Decides between POSIX and Windows for context_stack.
|
2017-03-09 00:59:10 +01:00
|
|
|
*
|
2017-04-06 20:14:52 +02:00
|
|
|
* This file is part of libostd. See COPYING.md for futher information.
|
2017-03-09 00:59:10 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ostd/platform.hh"
|
|
|
|
|
2017-05-10 00:28:40 +02:00
|
|
|
#ifdef OSTD_PLATFORM_WIN32
|
|
|
|
# include "src/win32/context_stack.cc"
|
2017-05-02 00:03:42 +02:00
|
|
|
#else
|
2017-03-09 00:59:10 +01:00
|
|
|
#ifdef OSTD_PLATFORM_POSIX
|
2017-05-10 00:28:40 +02:00
|
|
|
# include "src/posix/context_stack.cc"
|
2017-03-22 17:31:57 +01:00
|
|
|
#else
|
2017-05-10 00:28:40 +02:00
|
|
|
# error "Unsupported platform"
|
2017-03-09 00:59:10 +01:00
|
|
|
#endif
|
|
|
|
#endif
|