From owner-p4-projects@FreeBSD.ORG Sun Apr 24 17:01:37 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 11B3416A4D0; Sun, 24 Apr 2005 17:01:37 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C93FC16A4CE for ; Sun, 24 Apr 2005 17:01:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADEB443D39 for ; Sun, 24 Apr 2005 17:01:36 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3OH1ajT001347 for ; Sun, 24 Apr 2005 17:01:36 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3OH1aVv001344 for perforce@freebsd.org; Sun, 24 Apr 2005 17:01:36 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 24 Apr 2005 17:01:36 GMT Message-Id: <200504241701.j3OH1aVv001344@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 75899 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 17:01:37 -0000 http://perforce.freebsd.org/chv.cgi?CH=75899 Change 75899 by rwatson@rwatson_paprika on 2005/04/24 17:01:31 Hook up bsm_notify.c to the build, but only compile the contents if running on Darwin. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/Makefile#4 edit .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_notify.c#3 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/Makefile#4 (text+ko) ==== @@ -18,6 +18,7 @@ bsm_flags.c \ bsm_io.c \ bsm_mask.c \ + bsm_notify.c \ bsm_token.c \ bsm_user.c \ bsm_wrappers.c ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_notify.c#3 (text+ko) ==== @@ -26,6 +26,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef __APPLE__ + /* * Based on sample code from Marc Majka */ @@ -144,3 +146,4 @@ } } +#endif /* !__APPLE__ */