summaryrefslogtreecommitdiff
path: root/src/win32-mailslot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32-mailslot.c')
-rw-r--r--src/win32-mailslot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/win32-mailslot.c b/src/win32-mailslot.c
index 50fadad..274aa6f 100644
--- a/src/win32-mailslot.c
+++ b/src/win32-mailslot.c
@@ -17,6 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#if WIN32
+
#define TRG_MAILSLOT_NAME "\\\\.\\mailslot\\TransmissionRemoteGTK" //Name given to the Mailslot
#define MAILSLOT_BUFFER_SIZE 1024*32
@@ -190,3 +192,5 @@ gboolean mailslot_send_message(gchar ** args)
return FALSE;
}
+
+#endif