summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivmai <ivmai>2009-09-16 12:07:42 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:46 +0400
commitd70b0280af3c3d53e2a794b26aa7a3127943b8c3 (patch)
tree35d424e5fa7ea5e5e0ce9916941393fc48b1b5ac
parent048b93ba0fc96aa54293b5e82b3c973c3eb28144 (diff)
downloadbdwgc-d70b0280af3c3d53e2a794b26aa7a3127943b8c3.tar.gz
2009-09-16 Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)
(gc_config_h_6a.patch with a minor correction) * include/private/gc_priv.h: Change include of config.h to private/config.h. * include/private/gc_pmark.h: Ditto. * gc_cpp.cc: Ditto. * tests/test.c: Ditto. * tests/test_cpp.cc: Include private/config.h (if HAVE_CONFIG_H); undefine GC_BUILD.
-rw-r--r--ChangeLog11
-rw-r--r--gc_cpp.cc2
-rw-r--r--include/private/gc_pmark.h2
-rw-r--r--include/private/gc_priv.h2
-rw-r--r--tests/test.c2
-rw-r--r--tests/test_cpp.cc4
6 files changed, 19 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index fcf30e8a..b74cc71f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2009-09-16 Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)
+ (gc_config_h_6a.patch with a minor correction)
+
+ * include/private/gc_priv.h: Change include of config.h to
+ private/config.h.
+ * include/private/gc_pmark.h: Ditto.
+ * gc_cpp.cc: Ditto.
+ * tests/test.c: Ditto.
+ * tests/test_cpp.cc: Include private/config.h (if HAVE_CONFIG_H);
+ undefine GC_BUILD.
+
2009-09-16 Ivan Maidanski <ivmai@mail.ru>
(ivmai128.diff - superseding diff62, diff66 partly)
diff --git a/gc_cpp.cc b/gc_cpp.cc
index eb53437d..4d001309 100644
--- a/gc_cpp.cc
+++ b/gc_cpp.cc
@@ -24,7 +24,7 @@ Authors: John R. Ellis and Jesse Hull
**************************************************************************/
# ifdef HAVE_CONFIG_H
-# include "config.h"
+# include "private/config.h"
# endif
# ifndef GC_BUILD
diff --git a/include/private/gc_pmark.h b/include/private/gc_pmark.h
index 4b0ccd56..3dc46a85 100644
--- a/include/private/gc_pmark.h
+++ b/include/private/gc_pmark.h
@@ -26,7 +26,7 @@
# define GC_PMARK_H
# ifdef HAVE_CONFIG_H
-# include "config.h"
+# include "private/config.h"
# endif
# ifndef GC_BUILD
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h
index 16e29fac..b02ad1d7 100644
--- a/include/private/gc_priv.h
+++ b/include/private/gc_priv.h
@@ -20,7 +20,7 @@
# define GC_PRIVATE_H
# ifdef HAVE_CONFIG_H
-# include "config.h"
+# include "private/config.h"
# endif
# ifndef GC_BUILD
diff --git a/tests/test.c b/tests/test.c
index b328522f..01037dde 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -19,7 +19,7 @@
/* checking for some of the tests. */
# ifdef HAVE_CONFIG_H
-# include "config.h"
+# include "private/config.h"
# endif
# undef GC_BUILD
diff --git a/tests/test_cpp.cc b/tests/test_cpp.cc
index 98cb2819..c5b04451 100644
--- a/tests/test_cpp.cc
+++ b/tests/test_cpp.cc
@@ -24,6 +24,10 @@ few minutes to complete.
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "private/config.h"
+#endif
+#undef GC_BUILD
#include "gc_cpp.h"
#include <stdio.h>
#include <stdlib.h>