msvc does not know about __func__

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@704 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
gombasg 2006-06-19 10:37:54 +00:00 committed by Adam Visegradi
parent b909d11eaf
commit cc288934a8
1 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ typedef enum {
#ifdef _WIN32
#define PATHSEP '\\'
#define __func__ "DC-API"
#else
#define PATHSEP '/'
#endif
@ -310,7 +311,7 @@ int DC_sendResult(const char *logicalFileName, const char *path,
return DC_ERR_SYSTEM;
break;
case DC_FILE_PERSISTENT:
#ifndef WIN32
#ifndef _WIN32
ret = link(path, new_path);
if (!ret)
break;