Module Name: src
Committed By: pooka
Date: Wed Jan 15 16:53:16 UTC 2014
Modified Files:
src/lib/librumpuser: rumpuser_port.h
Log Message:
Make setprogname() a nop where it's not supported.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/librumpuser/rumpuser_port.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumpuser/rumpuser_port.h
diff -u src/lib/librumpuser/rumpuser_port.h:1.26 src/lib/librumpuser/rumpuser_port.h:1.27
--- src/lib/librumpuser/rumpuser_port.h:1.26 Wed Jan 8 11:04:47 2014
+++ src/lib/librumpuser/rumpuser_port.h Wed Jan 15 16:53:15 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_port.h,v 1.26 2014/01/08 11:04:47 pooka Exp $ */
+/* $NetBSD: rumpuser_port.h,v 1.27 2014/01/15 16:53:15 pooka Exp $ */
/*
* Portability header for non-NetBSD platforms.
@@ -237,4 +237,8 @@ do { \
} while (/*CONSTCOND*/0)
#endif
+#ifndef PLATFORM_HAS_SETGETPROGNAME
+#define setprogname(a)
+#endif
+
#endif /* _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_ */