Code

Fix handle for LPERotateCopies
[inkscape.git] / src / io / sys.cpp
index e659774e2332b41d0b54d613213f43c00f77a442..029ff88fdba31943c02040c927f49e66d62dd305 100644 (file)
 
 #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>