PERFORCE change 110898 for review

John Birrell jb at FreeBSD.org
Sat Dec 2 16:46:03 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=110898

Change 110898 by jb at jb_freebsd8 on 2006/12/03 00:45:55

	Add Solaris compatibility definitions.

Affected files ...

.. //depot/projects/dtrace/src/include/stdlib.h#4 edit

Differences ...

==== //depot/projects/dtrace/src/include/stdlib.h#4 (text+ko) ====

@@ -282,6 +282,15 @@
 
 extern char *suboptarg;			/* getsubopt(3) external variable */
 #endif /* __BSD_VISIBLE */
+
+/*
+ * Solaris compatibility definitions.
+ */
+#ifdef _SOLARIS_C_SOURCE
+
+#define	getpname()	getprogname()
+
+#endif /* _SOLARIS_C_SOURCE */
 __END_DECLS
 
 #endif /* !_STDLIB_H_ */


More information about the p4-projects mailing list