Date: Sun, 3 Dec 2006 00:46:01 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110898 for review Message-ID: <200612030046.kB30k1qr086199@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110898 Change 110898 by jb@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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612030046.kB30k1qr086199>