From: Sean McGovern Date: Sat, 4 Dec 2010 06:30:51 +0000 (-0800) Subject: SPARC/Solaris build fixes X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=3534560566940cdd143ae7b6e054980d09a359d7;p=x264.git SPARC/Solaris build fixes --- diff --git a/Makefile b/Makefile index 6344ca4f..ec7a7a3a 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ endif endif # VIS optims -ifeq ($(ARCH),UltraSparc) +ifeq ($(ARCH),UltraSPARC) ifeq ($(findstring HIGH_BIT_DEPTH, $(CONFIG)),) ASMSRC += common/sparc/pixel.asm OBJASM = $(ASMSRC:%.asm=%.o) diff --git a/common/osdep.h b/common/osdep.h index ce5c837b..fbe8e96c 100644 --- a/common/osdep.h +++ b/common/osdep.h @@ -50,7 +50,7 @@ #include // _O_BINARY #endif -#if (SYS_OPENBSD && !defined(isfinite)) || SYS_SunOS +#if !defined(isfinite) && (SYS_OPENBSD || SYS_SunOS) #define isfinite finite #endif #ifdef _WIN32