Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 17:01:36 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 75899 for review
Message-ID:  <200504241701.j3OH1aVv001344@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504241701.j3OH1aVv001344>