]> git.sesse.net Git - x264/commitdiff
SPARC/Solaris build fixes
authorSean McGovern <gseanmcg@gmail.com>
Sat, 4 Dec 2010 06:30:51 +0000 (22:30 -0800)
committerFiona Glaser <fiona@x264.com>
Sun, 5 Dec 2010 22:55:45 +0000 (14:55 -0800)
Makefile
common/osdep.h

index 6344ca4f0b622669716295d7ccba4bf3ddce61cd..ec7a7a3aa6b096e3ac808f5c0d7a260367637297 100644 (file)
--- 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)
index ce5c837b3e341d64e0686ccfe5a29a80ceeb0930..fbe8e96cc7fedd160b7d778b692683ad6c809bdd 100644 (file)
@@ -50,7 +50,7 @@
 #include <fcntl.h> // _O_BINARY
 #endif
 
-#if (SYS_OPENBSD && !defined(isfinite)) || SYS_SunOS
+#if !defined(isfinite) && (SYS_OPENBSD || SYS_SunOS)
 #define isfinite finite
 #endif
 #ifdef _WIN32