Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser Make setprogname() a nop where it's not supp...



details:   https://anonhg.NetBSD.org/src/rev/db08c66327df
branches:  trunk
changeset: 325999:db08c66327df
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jan 15 16:53:15 2014 +0000

description:
Make setprogname() a nop where it's not supported.

diffstat:

 lib/librumpuser/rumpuser_port.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 40ea63d3ce9c -r db08c66327df lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h   Wed Jan 15 15:10:31 2014 +0000
+++ b/lib/librumpuser/rumpuser_port.h   Wed Jan 15 16:53:15 2014 +0000
@@ -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 @@
 } while (/*CONSTCOND*/0)
 #endif
 
+#ifndef PLATFORM_HAS_SETGETPROGNAME
+#define setprogname(a)
+#endif
+
 #endif /* _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_ */



Home | Main Index | Thread Index | Old Index