shithub: openh264

Download patch

ref: 797a19e3670bd6a447711ce94ea859105be15c7a
parent: 36f96cb766a83a82e2fef7cdbbc7bcd2cd47d3c8
author: Martin Storsjö <martin@martin.st>
date: Tue Jan 21 16:15:53 EST 2014

Define MACOS when building for OS X

The library uses this define to enable OS X specific functionality
in general, even if none of those snippets actually have been
strictly required so far.

--- a/build/platform-darwin.mk
+++ b/build/platform-darwin.mk
@@ -1,6 +1,6 @@
 
 ASM = nasm
-CFLAGS += -Wno-deprecated-declarations -Werror -fPIC 
+CFLAGS += -Wno-deprecated-declarations -Werror -fPIC -DMACOS
 LDFLAGS += -lpthread
 ASMFLAGS += --prefix _ -DNOPREFIX
 ifeq ($(ENABLE64BIT), Yes)