]> granicus.if.org Git - gc/commitdiff
tools: Include proper header file for configuration macros
authorIvan Maidanski <ivmai@mail.ru>
Sat, 16 Jun 2012 09:35:53 +0000 (13:35 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 16 Jun 2012 09:35:53 +0000 (13:35 +0400)
* 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.

tools/if_mach.c
tools/if_not_there.c
tools/threadlibs.c

index 25f3eca38444fbf63d8f3405344bf9b87f5d9cfc..94053a666628816d98d16bf7e72ef406c2d21e69 100644 (file)
@@ -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>
index cae4880d1bd6b9e1fa3eb9e50787cd0f0c9a98aa..c0f095d058cae804efd53997471a70d4a7dff63f 100644 (file)
@@ -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>
index 6d84efdbdacfe2bf92db335da76c5ae825d8b896..a97f91b8fc9670b4d29a122147fbf9d176404ae8 100644 (file)
@@ -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>