summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 16:43:53 +0300
committerDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 17:46:31 +0300
commit42ff7fb85ba41cc89e94797efee7fcc3912542e0 (patch)
treede6b6340589b7e920977757ad7006aff1bd22b09
parent51d0db710717be84c62c24ce9f8b99e98728cc1c (diff)
downloadlibvncserver-42ff7fb85ba41cc89e94797efee7fcc3912542e0.zip
libvncserver-42ff7fb85ba41cc89e94797efee7fcc3912542e0.tar.gz
MSVC also has the __FUNCTION__ predefined
-rw-r--r--libvncserver/tightvnc-filetransfer/filetransfermsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/tightvnc-filetransfer/filetransfermsg.c b/libvncserver/tightvnc-filetransfer/filetransfermsg.c
index 4e18813..a0ae7c1 100644
--- a/libvncserver/tightvnc-filetransfer/filetransfermsg.c
+++ b/libvncserver/tightvnc-filetransfer/filetransfermsg.c
@@ -100,7 +100,7 @@ GetFileListResponseMsg(char* path, char flags)
return fileListMsg;
}
-#ifndef __GNUC__
+#if !defined(__GNUC__) && !defined(_MSC_VER)
#define __FUNCTION__ "unknown"
#endif
OpenPOWER on IntegriCloud