diff options
| author | Adib Taraben <theadib@gmail.com> | 2008-03-28 00:25:32 +0000 |
|---|---|---|
| committer | theadib <theadib@users.sourceforge.net> | 2008-03-28 00:25:32 +0000 |
| commit | d21ef4e3f2ffa238066f281a14b76b33601e3bff (patch) | |
| tree | 0632b5a8b5d9d4eafba3ec33d151fe558f8076ba /src/io/sys.cpp | |
| parent | Fixing as per discussion in LP # 179988 (diff) | |
| download | inkscape-d21ef4e3f2ffa238066f281a14b76b33601e3bff.tar.gz inkscape-d21ef4e3f2ffa238066f281a14b76b33601e3bff.zip | |
fix broken link to _wspawn prototype
(bzr r5213)
Diffstat (limited to 'src/io/sys.cpp')
| -rw-r--r-- | src/io/sys.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
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 <process.h> // declares spawn functions #include <wchar.h> // 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 <unistd.h> #include <glibmm/i18n.h> #include <fcntl.h> |
