// vim:fileencoding=utf-8:foldmethod=marker #ifndef SHELL_UTILS_H #define SHELL_UTILS_H #include "../../../common/aliases/aliases.h" #include "../../../common/platform/platform.h" #include #ifdef WAPP_PLATFORM_CPP BEGIN_C_LINKAGE #endif // !WAPP_PLATFORM_CPP #ifdef WAPP_PLATFORM_WINDOWS #define wapp_shell_utils_popen _popen #define wapp_shell_utils_pclose _pclose #else #define wapp_shell_utils_popen popen #define wapp_shell_utils_pclose pclose #endif /* ifdef WAPP_PLATFORM_WINDOWS */ #ifdef WAPP_PLATFORM_CPP END_C_LINKAGE #endif // !WAPP_PLATFORM_CPP #endif // !SHELL_UTILS_H