[mono/mono] [2 commits] bd421b40: Define GC_NOT_DLL for included boehm on win32.

"Rodrigo Kumpera ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141ccc3a8c1-40853ef0-b391-41d9-8401-b3927c3d34e5-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/930e8fe970cd...9acd6e303d8e

   Commit: bd421b40eeaf509e5273838390e98c09a114e9d5
   Author: Vincent Povirk <[email protected]> 
     Date: 2013-09-26 19:06:06 GMT
      URL: https://github.com/mono/mono/commit/bd421b40eeaf509e5273838390e98c09a114e9d5

Define GC_NOT_DLL for included boehm on win32.

This commit licensed as MIT/X11.

Changed paths:
  M configure.in

Modified: configure.in
===================================================================
@@ -1034,6 +1034,11 @@ case "x$gc" in
 
 		BOEHM_DEFINES="-DHAVE_BOEHM_GC -DHAVE_GC_H -DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE"
 
+		if test x$target_win32 = xyes; then
+			BOEHM_DEFINES="$BOEHM_DEFINES -DGC_NOT_DLL"
+			CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DGC_BUILD -DGC_NOT_DLL"
+		fi
+
 		gc_msg="bundled Boehm GC with typed GC"
 		if test x$enable_parallel_mark = xyes; then
 			AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC and Parallel Mark)", [GC description])

   Commit: 9acd6e303d8ea2934edbe8e3196b81d1c2c8572b
   Author: Rodrigo Kumpera <[email protected]> (kumpera)
     Date: 2013-10-18 18:09:11 GMT
      URL: https://github.com/mono/mono/commit/9acd6e303d8ea2934edbe8e3196b81d1c2c8572b

Merge pull request #768 from madewokherd/gcnotdll

Define GC_NOT_DLL for included boehm on win32.

Changed paths:
  M configure.in

Modified: configure.in
===================================================================
@@ -1034,6 +1034,11 @@ case "x$gc" in
 
 		BOEHM_DEFINES="-DHAVE_BOEHM_GC -DHAVE_GC_H -DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE"
 
+		if test x$target_win32 = xyes; then
+			BOEHM_DEFINES="$BOEHM_DEFINES -DGC_NOT_DLL"
+			CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DGC_BUILD -DGC_NOT_DLL"
+		fi
+
 		gc_msg="bundled Boehm GC with typed GC"
 		if test x$enable_parallel_mark = xyes; then
 			AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC and Parallel Mark)", [GC description])


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.