Commit 42ff7fb8 authored by Daniel Cohen Gindi's avatar Daniel Cohen Gindi

MSVC also has the __FUNCTION__ predefined

parent 51d0db71
...@@ -100,7 +100,7 @@ GetFileListResponseMsg(char* path, char flags) ...@@ -100,7 +100,7 @@ GetFileListResponseMsg(char* path, char flags)
return fileListMsg; return fileListMsg;
} }
#ifndef __GNUC__ #if !defined(__GNUC__) && !defined(_MSC_VER)
#define __FUNCTION__ "unknown" #define __FUNCTION__ "unknown"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment