Fix compilation on Solaris, which lacks isinfinite as reported by

Daniel Vergien.
This commit is contained in:
joerg 2008-07-10 15:11:53 +00:00
parent 665cda986c
commit e1a6feb45e
2 changed files with 15 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.11 2008/07/10 13:40:40 joerg Exp $
$NetBSD: distinfo,v 1.12 2008/07/10 15:11:53 joerg Exp $
SHA1 (x264-snapshot-20071218-2245.tar.bz2) = b5bc182070e17a8470618bae776488514b67a96a
RMD160 (x264-snapshot-20071218-2245.tar.bz2) = 753ab79398bf5bb92b41656ef48ab57dcc63f347
Size (x264-snapshot-20071218-2245.tar.bz2) = 537622 bytes
SHA1 (patch-aa) = 78152d98fd8df5719dfc556286dec466c53299ba
SHA1 (patch-ab) = 1c38310140b0497dbc257758564dac9264abad54
SHA1 (patch-ac) = c6b1201d8dad1e681a3bf6df6d03da6688328471

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.3 2008/07/10 15:11:53 joerg Exp $
--- common/osdep.h.orig 2008-07-10 15:44:08.000000000 +0200
+++ common/osdep.h
@@ -44,7 +44,7 @@
#define X264_VERSION "" // no configure script for msvc
#endif
-#ifdef SYS_OPENBSD
+#if defined(SYS_OPENBSD) || defined(SYS_SunOS)
#define isfinite finite
#endif
#if defined(_MSC_VER) || defined(SYS_SunOS) || defined(SYS_MACOSX)