[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] common/runtime/platform/win servruntime.cpp,1.2,1.3
From:       dcollins () helixcommunity ! org
Date:       2010-08-10 22:39:20
Message-ID: 201008111041.o7BAfVFK012576 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/common/runtime/platform/win
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv27599

Modified Files:
	servruntime.cpp 
Log Message:


Index: servruntime.cpp
===================================================================
RCS file: /cvsroot/server/common/runtime/platform/win/servruntime.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- servruntime.cpp	19 Sep 2006 20:18:36 -0000	1.2
+++ servruntime.cpp	10 Aug 2010 22:39:18 -0000	1.3
@@ -38,10 +38,17 @@
 #include <windows.h>
 #include <stdio.h>
 
-#define BUILTIN_NEW_SYM     "??2@YAPAXI@Z"
-#define BUILTIN_DEL_SYM     "??3@YAXPAX@Z"
-#define BUILTIN_VEC_NEW_SYM "??_U@YAPAXI@Z"
-#define BUILTIN_VEC_DEL_SYM "??_V@YAXPAX@Z"
+#if defined(_WIN64)
+#define BUILTIN_NEW_SYM     "??2@YAPEAX_K@Z"        // void* operator new(unsigned int64)
+#define BUILTIN_DEL_SYM     "??3@YAXPEAX@Z"         // void operator delete (void *)
+#define BUILTIN_VEC_NEW_SYM "??_U@YAPEAX_K@Z"       // void* operator new[] (unsigned int64)
+#define BUILTIN_VEC_DEL_SYM "??_V@YAXPEAX@Z"        // void operator delete[] (void *)
+#else
+#define BUILTIN_NEW_SYM     "??2@YAPAXI@Z"  // operator new
+#define BUILTIN_DEL_SYM     "??3@YAXPAX@Z"  // operator delete
+#define BUILTIN_VEC_NEW_SYM "??_U@YAPAXI@Z" // operator new[]
+#define BUILTIN_VEC_DEL_SYM "??_V@YAXPAX@Z" // operator delete[]
+#endif
 
 
 


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic