diff options
author | Daniel Cohen Gindi <[email protected]> | 2014-09-20 16:43:53 +0300 |
---|---|---|
committer | Daniel Cohen Gindi <[email protected]> | 2014-09-20 17:46:31 +0300 |
commit | 42ff7fb85ba41cc89e94797efee7fcc3912542e0 (patch) | |
tree | de6b6340589b7e920977757ad7006aff1bd22b09 /libvncserver | |
parent | 51d0db710717be84c62c24ce9f8b99e98728cc1c (diff) | |
download | libtdevnc-42ff7fb85ba41cc89e94797efee7fcc3912542e0.tar.gz libtdevnc-42ff7fb85ba41cc89e94797efee7fcc3912542e0.zip |
MSVC also has the __FUNCTION__ predefined
Diffstat (limited to 'libvncserver')
-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 |