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