All of lore.kernel.org
 help / color / mirror / Atom feed
* [Devel] [patch 5/5] Fix building on GNU/Hurd
@ 2010-07-05 12:03 malattia
  0 siblings, 0 replies; only message in thread
From: malattia @ 2010-07-05 12:03 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

gcc on GNU/Hurd defines __GNU__, use the same includes as __linux__ as after all
it runs with the same userspace.

Signed-off-by: Mattia Dongili <malattia(a)linux.it>
---
 include/platform/acenv.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/include/platform/acenv.h
===================================================================
--- a/include/platform/acenv.h	2010-07-04 11:18:17.506017933 +0900
+++ b/include/platform/acenv.h	2010-07-04 11:18:24.686018064 +0900
@@ -193,7 +193,7 @@
  *
  *****************************************************************************/
 
-#if defined(_LINUX) || defined(__linux__)
+#if defined(_LINUX) || defined(__linux__) || defined(__GNU__)
 #include "aclinux.h"
 
 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-05 12:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 12:03 [Devel] [patch 5/5] Fix building on GNU/Hurd malattia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.