Re: [PATCH] xvid-1.2.2 compilation patch for Darwin
Fabian Groffen <[email protected]>
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Organization | Gentoo Foundation, Inc. |
| Message-ID | <[email protected]> |
On 31-05-2009 14:03:00 +0200, Michael Militzer wrote: > thanks for the patch. I however do not really understand why it is needed. > Xvid 1.2.2 compiles fine for me on OSX 10.5 (x86) without any modification. > Also according to the Darwin documentation, _SC_NPROCESSORS_CONF should be > available: > > http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/sysconf.3.html > > So I don't understand why we should avoid the use of _SC_NPROCESSORS_CONF > for Darwin (as your patch indicates). Can you shed some light on this? On 10.4 _SC_NPROCESSORS_CONF is not available. I can imagine you'd want some tweaking of the patch though. Thanks! > Quoting Fabian Groffen <[email protected]>: > > ../../src/xvid.c: In function ‘xvid_gbl_info’: > > ../../src/xvid.c:682: error: ‘_SC_NPROCESSORS_CONF’ undeclared > > (first use in this function) -- Fabian Groffen Gentoo on a different level _______________________________________________ Xvid-devel mailing list [email protected] http://list.xvid.org/mailman/listinfo/xvid-devel