From owner-p4-projects@FreeBSD.ORG Sun Dec 3 00:46:03 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 18C2616A416; Sun, 3 Dec 2006 00:46:03 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3AB916A40F for ; Sun, 3 Dec 2006 00:46:02 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EEB643CA7 for ; Sun, 3 Dec 2006 00:45:39 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB30k2fJ086202 for ; Sun, 3 Dec 2006 00:46:02 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB30k1qr086199 for perforce@freebsd.org; Sun, 3 Dec 2006 00:46:01 GMT (envelope-from jb@freebsd.org) Date: Sun, 3 Dec 2006 00:46:01 GMT Message-Id: <200612030046.kB30k1qr086199@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 110898 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 00:46:03 -0000 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_ */