diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-06-10 23:09:08 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-06-10 23:09:08 +0200 |
commit | 2e0f24d00b85c617400413bb2d179fd1028420c4 (patch) | |
tree | 95488f07f3a5e6a8558cbde11d2372d1c53ca246 /ipc.c | |
parent | b6cd9e9fe0aa86e83fc4a43b3db2240839e2103a (diff) | |
parent | 6a72a574df321683ee51f7cef14255cbb4cdbeba (diff) |
Merge support for cross-compiling for Windows using the mingw32 compiler.
Diffstat (limited to 'ipc.c')
-rw-r--r-- | ipc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -438,6 +438,7 @@ void ipc_child_disable() global.listen_socket = -1; } +#ifndef _WIN32 char *ipc_master_save_state() { char *fn = g_strdup( "/tmp/bee-restart.XXXXXX" ); @@ -503,7 +504,6 @@ static gboolean new_ipc_client( gpointer data, gint serversock, b_input_conditio return TRUE; } -#ifndef _WIN32 int ipc_master_listen_socket() { struct sockaddr_un un_addr; @@ -540,7 +540,11 @@ int ipc_master_listen_socket() return 1; } #else +int ipc_master_listen_socket() +{ /* FIXME: Open named pipe \\.\BITLBEE */ + return 0; +} #endif int ipc_master_load_state() |