[Mono-bugs] [Bug 81456][Blo] Changed - eglib does not build on Mac OS X

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Apr 26 22:52:34 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81456

--- shadow/81456	2007-04-26 04:33:08.000000000 -0400
+++ shadow/81456.tmp.28682	2007-04-26 22:52:34.000000000 -0400
@@ -81,6 +81,16 @@
 review:
 Is #if[n]def __APPLE__ okay for now or are changes to configure.in necessary to get 
 HAVE_STRNDUP, HAVE_*PWENT? Unfortunately I don't really know autoconf so would need 
 info.
 
 Andreas
+
+------- Additional Comments From miguel at ximian.com  2007-04-26 22:52 -------
+Using operating system defines is never a good idea, for two main
+reasons: operating systems evolve and their provided APIs change over
+time and really what we need is to know if a feature is available, not
+what platform we are on.
+
+You need to use AC_CHECK_FUNC(function) to detect a particular
+function, that will turn into a define HAVE_FUNCTION that you can use
+in the source code. 


More information about the mono-bugs mailing list