Author: cwittich
Date: Wed Jul 9 10:25:50 2008
New Revision: 34394
URL:
http://svn.reactos.org/svn/reactos?rev=34394&view=rev
Log:
return correct error code in link macro
Modified:
trunk/tools/RosBE/RosBE-Windows/Tools/ccache-2.4/ccache.h
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/ccache-2.4/ccache.h
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/cc…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/ccache-2.4/ccache.h [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/ccache-2.4/ccache.h [iso-8859-1] Wed Jul 9
10:25:50 2008
@@ -41,7 +41,7 @@
#define unlink _unlink
#define mkdir(dirname, access) _mkdir(dirname)
#define x_realpath(a) strdup(a)
- #define link(filename, linkname) CreateHardLinkA(linkname, filename, NULL)
+ #define link(filename, linkname) CreateHardLinkA(linkname, filename, NULL) ? 0 : -1
#define lstat(x, y) stat(x, y)
#ifdef _MSC_VER