summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/os_calls.c')
-rw-r--r--common/os_calls.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index 095ff4fd..d81b3cd4 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -948,13 +948,20 @@ void* g_get_proc_address(int lib, char* name)
/*****************************************************************************/
int g_system(char* aexec)
{
+#ifdef _WIN32
+ return 0;
+#else
return system(aexec);
+#endif
}
/*****************************************************************************/
void g_signal(int sig_num, void (*func)(int))
{
+#ifdef _WIN32
+#else
signal(sig_num, func);
+#endif
}
/*****************************************************************************/