diff options
author | Daniel Cohen Gindi <danielgindi@gmail.com> | 2014-09-20 16:43:53 +0300 |
---|---|---|
committer | Daniel Cohen Gindi <danielgindi@gmail.com> | 2014-09-20 17:46:31 +0300 |
commit | 42ff7fb85ba41cc89e94797efee7fcc3912542e0 (patch) | |
tree | de6b6340589b7e920977757ad7006aff1bd22b09 | |
parent | 51d0db710717be84c62c24ce9f8b99e98728cc1c (diff) | |
download | libvncserver-42ff7fb85ba41cc89e94797efee7fcc3912542e0.zip libvncserver-42ff7fb85ba41cc89e94797efee7fcc3912542e0.tar.gz |
MSVC also has the __FUNCTION__ predefined
-rw-r--r-- | libvncserver/tightvnc-filetransfer/filetransfermsg.c | 2 |
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 |