Author: tkreuzer
Date: Sun Jul 25 12:34:56 2010
New Revision: 48250
URL:
http://svn.reactos.org/svn/reactos?rev=48250&view=rev
Log:
[OSKITTCP]
Don't add leading underscores to symbols on amd64 builds
Modified:
trunk/reactos/lib/drivers/oskittcp/include/freebsd/src/sys/sys/kernel.h
Modified: trunk/reactos/lib/drivers/oskittcp/include/freebsd/src/sys/sys/kernel.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/oskittcp/inclu…
==============================================================================
--- trunk/reactos/lib/drivers/oskittcp/include/freebsd/src/sys/sys/kernel.h [iso-8859-1]
(original)
+++ trunk/reactos/lib/drivers/oskittcp/include/freebsd/src/sys/sys/kernel.h [iso-8859-1]
Sun Jul 25 12:34:56 2010
@@ -83,8 +83,13 @@
#ifdef _MSC_VER
#define MAKE_SET(set, sym, type)
#else
+#if defined(_M_AMD64)
+#define MAKE_SET(set, sym, type) \
+ asm(".stabs \"" #set "\", " #type ", 0, 0, "
#sym)
+#else
#define MAKE_SET(set, sym, type) \
asm(".stabs \"_" #set "\", " #type ", 0, 0, _"
#sym)
+#endif
#endif
#define TEXT_SET(set, sym) MAKE_SET(set, sym, 23)
#define DATA_SET(set, sym) MAKE_SET(set, sym, 25)