From e10e1f2614331ed0753dd4a9b099095f4e3af350 Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 16 Oct 2009 14:11:58 +0000 Subject: [PATCH] Fixed compile for Linux. --- bacnet-stack/demo/mstpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/demo/mstpcap/main.c b/bacnet-stack/demo/mstpcap/main.c index caa2e67e..85cc328c 100644 --- a/bacnet-stack/demo/mstpcap/main.c +++ b/bacnet-stack/demo/mstpcap/main.c @@ -285,9 +285,9 @@ uint16_t MSTP_Get_Reply( static char Capture_Filename[32] = "mstp_20090123091200.cap"; static FILE *pFile = NULL; /* stream pointer */ +#if defined(_WIN32) static HANDLE hPipe = NULL; /* pipe handle */ -#if defined(_WIN32) static void named_pipe_create(char *name) { fprintf(stdout, "mstpcap: Creating Named Pipe \"%s\"\n", name);