Hi Martin,
With latest changes, after booting to third stage I get two identical message boxes with
no text, just "ROS Explorer" as the title and ok (before seeing explorer) after
clicking on ok both times explorer comes up.
Regards,
Gabriel.
Date: Fri, 8 Jan 2010 15:10:50 +0000
To: ros-diffs(a)reactos.org
From: martinf(a)svn.reactos.org
Subject: [ros-diffs] [martinf] 45001: define _tcscpy_s and _tsplitpath_s again for native
VC++ builds
Author: martinf
Date: Fri Jan 8 16:10:50 2010
New Revision: 45001
URL:
http://svn.reactos.org/svn/reactos?rev=45001&view=rev
Log:
define _tcscpy_s and _tsplitpath_s again for native VC++ builds
Modified:
trunk/reactos/base/shell/explorer/utility/utility.h
Modified: trunk/reactos/base/shell/explorer/utility/utility.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/utilit…
==============================================================================
--- trunk/reactos/base/shell/explorer/utility/utility.h [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/utility/utility.h [iso-8859-1] Fri Jan 8 16:10:50
2010
@@ -194,10 +194,20 @@
#define strcpy_s(d, l, s) strcpy(d, s)
#define wcscpy_s(d, l, s) wcscpy(d, s)
#define wcsncpy_s(d, l, s, n) wcsncpy(d, s, n)
+
+#if defined(_tcscpy) && !defined(_tcscpy_s)
+#define _tcscpy_s(d, l, s) _tcscpy(d, s)
+#endif
+
+#if defined(_tsplitpath) && !defined(_tsplitpath_s)
+#define _tsplitpath_s(f, d,dl, p,pl, n,nl, e,el) _tsplitpath(f, d, p, n, e)
+#else
+#define _wsplitpath_s(f, d,dl, p,pl, n,nl, e,el) _wsplitpath(f, d, p, n, e)
+#define _splitpath_s(f, d,dl, p,pl, n,nl, e,el) _splitpath(f, d, p, n, e)
+#endif
+
#define _stprintf_s1(b, l, f, p1) _stprintf(b, f, p1)
#define _stprintf_s2(b, l, f, p1,p2) _stprintf(b, f, p1,p2)
-#define _wsplitpath_s(f, d,dl, p,pl, n,nl, e,el) _wsplitpath(f, d, p, n, e)
-#define _splitpath_s(f, d,dl, p,pl, n,nl, e,el) _splitpath(f, d, p, n, e)
#endif // __STDC_WANT_SECURE_LIB__
_________________________________________________________________
Un mondo di personalizzazioni per Messenger, PC e cellulare