libostd/src/process.cc

23 lines
484 B
C++
Raw Permalink Normal View History

/* Decides between POSIX and Windows for process.
*
* This file is part of libostd. See COPYING.md for futher information.
*/
#include "ostd/platform.hh"
2017-05-09 21:20:37 +02:00
2017-05-12 00:05:18 +02:00
#if defined(OSTD_PLATFORM_WIN32)
# include "src/win32/process.cc"
2017-05-12 00:05:18 +02:00
#elif defined(OSTD_PLATFORM_POSIX)
# include "src/posix/process.cc"
#else
# error "Unsupported platform"
#endif
2018-01-05 22:31:04 +01:00
namespace ostd {
/* place the vtable in here */
word_error::~word_error() {}
subprocess_error::~subprocess_error() {}
} /* namespace ostd */