mirror of https://github.com/BOINC/boinc.git
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:
parent
b909d11eaf
commit
cc288934a8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue