Module Name:    src
Committed By:   pooka
Date:           Mon Sep  7 13:02:37 UTC 2009

Modified Files:
        src/sys/rump: Makefile.rump

Log Message:
Always define __NetBSD__ (for builds on non-NetBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/rump/Makefile.rump

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/Makefile.rump
diff -u src/sys/rump/Makefile.rump:1.38 src/sys/rump/Makefile.rump:1.39
--- src/sys/rump/Makefile.rump:1.38	Sun May  3 16:53:54 2009
+++ src/sys/rump/Makefile.rump	Mon Sep  7 13:02:37 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rump,v 1.38 2009/05/03 16:53:54 pooka Exp $
+#	$NetBSD: Makefile.rump,v 1.39 2009/09/07 13:02:37 pooka Exp $
 #
 
 WARNS?=		3	# XXX: src/sys won't compile with -Wsign-compare yet
@@ -25,6 +25,9 @@
 CPPFLAGS+=	-nostdinc -I${RUMPTOP}/..
 #CPPFLAGS+=	-DDEBUG
 
+# make sure __NetBSD__ gets defined (for builds on non-NetBSD)
+CPPFLAGS+=	-D__NetBSD__
+
 RUMPKERNEL=	This is NetBSD and I am the rump.  Good evening.
 
 # workaround: evbppc is not a well-defined arch

Reply via email to