summaryrefslogblamecommitdiff
path: root/user/kbuild/os-linux.patch
blob: 73d1320598b900d2d948a0cb513b78a8d1be66ab (plain) (tree)

























                                                                                         
diff --git a/src/kmk/kmkbuiltin/fts.c b/src/kmk/kmkbuiltin/fts.c
index cdf2209..040f836 100644
--- a/src/kmk/kmkbuiltin/fts.c
+++ b/src/kmk/kmkbuiltin/fts.c
@@ -76,7 +76,7 @@ __RCSID("$NetBSD: __fts13.c,v 1.44 2005/01/19 00:59:48 mycroft Exp $");
 #endif
 
 #if ! HAVE_NBTOOL_CONFIG_H
-# if !defined(__sun__) && !defined(__gnu_linux__) && !defined(__HAIKU__)
+# if !defined(__sun__) && !defined(__linux__) && !defined(__HAIKU__)
 #  define HAVE_STRUCT_DIRENT_D_NAMLEN 1
 # endif
 #endif
diff --git a/src/lib/kStuff/include/k/kDefs.h b/src/lib/kStuff/include/k/kDefs.h
index fdaecb7..093b9b4 100644
--- a/src/lib/kStuff/include/k/kDefs.h
+++ b/src/lib/kStuff/include/k/kDefs.h
@@ -94,7 +94,7 @@
 #  define K_OS      K_OS_GNU_KFBSD
 # elif defined(__gnu_hurd__)
 #  define K_OS      K_OS_GNU_HURD
-# elif defined(__gnu_linux__)
+# elif defined(__linux__)
 #  define K_OS      K_OS_LINUX
 # elif defined(__NetBSD__) /*??*/
 #  define K_OS      K_OS_NETBSD