projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f0621d
)
Fix 'undefined reference to GC_wait_for_reclaim' linker error
author
Ivan Maidanski
<ivmai@mail.ru>
Tue, 19 Sep 2017 07:38:39 +0000
(10:38 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 19 Sep 2017 07:38:39 +0000
(10:38 +0300)
(fix commit f4d690e)
Issue #179 (bdwgc).
* include/private/gc_pmark.h [HAVE_CONFIG_H]: Do not include config.h
if already included from gc_priv.h (to avoid PARALLEL_MARK macro
redefinition in config.h after it was undefined in gcconfig.h).
include/private/gc_pmark.h
patch
|
blob
|
history
diff --git
a/include/private/gc_pmark.h
b/include/private/gc_pmark.h
index
1511763
..
ec0ebc9
100644
(file)
--- a/
include/private/gc_pmark.h
+++ b/
include/private/gc_pmark.h
@@
-22,7
+22,7
@@
#ifndef GC_PMARK_H
#define GC_PMARK_H
-#if
def HAVE_CONFIG_H
+#if
defined(HAVE_CONFIG_H) && !defined(GC_PRIVATE_H)
# include "config.h"
#endif