summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-02-20 06:06:26 +0000
committerjsorg71 <jsorg71>2005-02-20 06:06:26 +0000
commit8defc32e27572d358de084c7a8de88fe248da84d (patch)
tree7ea29feafba79d32689f85e81691148925605e5a /common/os_calls.c
parent2999a3c8313d3fcb64413d827c1380890533c451 (diff)
downloadxrdp-proprietary-8defc32e27572d358de084c7a8de88fe248da84d.tar.gz
xrdp-proprietary-8defc32e27572d358de084c7a8de88fe248da84d.zip
readability and 64 bit changes
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
}
/*****************************************************************************/