From: theadib Date: Fri, 28 Mar 2008 00:25:32 +0000 (+0000) Subject: fix broken link to _wspawn prototype X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=21cf8ca93f141647ff8ac74b5c33ac0e7b609255;p=inkscape.git fix broken link to _wspawn prototype --- diff --git a/src/io/sys.cpp b/src/io/sys.cpp index 8811b084b..029ff88fd 100644 --- a/src/io/sys.cpp +++ b/src/io/sys.cpp @@ -28,12 +28,26 @@ #ifdef WIN32 -//#define BYPASS_GLIB_SPAWN 1 +#define BYPASS_GLIB_SPAWN 1 #ifdef BYPASS_GLIB_SPAWN #include // declares spawn functions #include // declares _wspawn functions +#ifdef __cplusplus +extern "C" { +#endif +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnl (int, const wchar_t*, const wchar_t*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnle (int, const wchar_t*, const wchar_t*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnlp (int, const wchar_t*, const wchar_t*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnlpe (int, const wchar_t*, const wchar_t*, ...); +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnv (int, const wchar_t*, const wchar_t* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnve (int, const wchar_t*, const wchar_t* const*, const wchar_t* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnvp (int, const wchar_t*, const wchar_t* const*); +_CRTIMP int __cdecl __MINGW_NOTHROW _wspawnvpe (int, const wchar_t*, const wchar_t* const*, const wchar_t* const*); +#ifdef __cplusplus +} +#endif #include #include #include