24 lines
592 B
Text
24 lines
592 B
Text
$NetBSD: patch-bs,v 1.2 2006/06/27 11:11:52 joerg Exp $
|
|
|
|
--- config/mkdepend/imakemdep.h.orig 2004-04-20 21:38:14.000000000 +0000
|
|
+++ config/mkdepend/imakemdep.h
|
|
@@ -440,6 +440,9 @@ char *cpp_argv[ARGUMENTS] = {
|
|
# ifdef __i386__
|
|
"-D__i386__",
|
|
# endif
|
|
+#if defined(__amd64__) || defined(__x86_64__)
|
|
+ "-D__amd64__ -D__x86_64__",
|
|
+# endif
|
|
# ifdef __GNUC__
|
|
"-traditional",
|
|
# endif
|
|
@@ -716,6 +719,9 @@ struct symtab predefs[] = {
|
|
#ifdef __FreeBSD__
|
|
{"__FreeBSD__", "1"},
|
|
#endif
|
|
+#ifdef __DragonFly__
|
|
+ {"__DragonFly__", "1"},
|
|
+#endif
|
|
#ifdef __NetBSD__
|
|
{"__NetBSD__", "1"},
|
|
#endif
|