summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-06-16 13:35:53 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-06-16 13:35:53 +0400
commit9637d2e8137d316754e3c3a49e8f232d667de25b (patch)
tree34a17925247d6bc8a7b01c50d92e6ce129154d91 /tools
parenta7fdbdb9c409b6bf4ee3195c55fb514cf788b3c6 (diff)
downloadbdwgc-9637d2e8137d316754e3c3a49e8f232d667de25b.tar.gz
tools: Include proper header file for configuration macros
* tools/if_mach.c: Include private/gc_priv.h instead of private/gcconfig.h (to get proper configuration macros defined). * tools/if_not_there.c: Likewise. * tools/threadlibs.c: Likewise. * tools/threadlibs.c: Do not include gc_config_macros.h directly.
Diffstat (limited to 'tools')
-rw-r--r--tools/if_mach.c2
-rw-r--r--tools/if_not_there.c3
-rw-r--r--tools/threadlibs.c3
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/if_mach.c b/tools/if_mach.c
index 25f3eca3..94053a66 100644
--- a/tools/if_mach.c
+++ b/tools/if_mach.c
@@ -1,6 +1,6 @@
/* Conditionally execute a command based on machine and OS from gcconfig.h */
-# include "private/gcconfig.h"
+# include "private/gc_priv.h"
# include <stdio.h>
# include <string.h>
# include <unistd.h>
diff --git a/tools/if_not_there.c b/tools/if_not_there.c
index cae4880d..c0f095d0 100644
--- a/tools/if_not_there.c
+++ b/tools/if_not_there.c
@@ -1,6 +1,7 @@
/* Conditionally execute a command based if the file argv[1] doesn't exist */
/* Except for execvp, we stick to ANSI C. */
-# include "private/gcconfig.h"
+
+# include "private/gc_priv.h"
# include <stdio.h>
# include <stdlib.h>
# include <unistd.h>
diff --git a/tools/threadlibs.c b/tools/threadlibs.c
index 6d84efdb..a97f91b8 100644
--- a/tools/threadlibs.c
+++ b/tools/threadlibs.c
@@ -15,8 +15,7 @@
* modified is included with the above copyright notice.
*/
-# include "gc_config_macros.h"
-# include "private/gcconfig.h"
+# include "private/gc_priv.h"
# include <stdio.h>