shithub: openh264

Download patch

ref: 6d880360b08607f68868d26f3ec47d9a6695abda
parent: f8b84b642d453e77699ba452d305424fc066d341
parent: 5cb3fc93e041763b72c9dec9b6574c53e9db3f39
author: Ethan Hugg <ethanhugg@gmail.com>
date: Tue Jan 21 04:39:49 EST 2014

Merge pull request #175 from mstorsjo/remove-unused-define

Remove the __NO_CTYPE define

--- a/build/platform-linux.mk
+++ b/build/platform-linux.mk
@@ -1,5 +1,5 @@
 ASM = nasm
-CFLAGS += -Werror -fPIC -DLINUX -D__NO_CTYPE
+CFLAGS += -Werror -fPIC -DLINUX
 LDFLAGS += -lpthread
 ASMFLAGS += -DNOPREFIX
 ifeq ($(ENABLE64BIT), Yes)
--- a/build/platform-mingw_nt.mk
+++ b/build/platform-mingw_nt.mk
@@ -1,5 +1,5 @@
 ASM = nasm
-CFLAGS += -D__NO_CTYPE
+CFLAGS +=
 LDFLAGS +=
 ifeq ($(ENABLE64BIT), Yes)
 ASMFLAGS += -f win64
--- a/codec/build/linux/dec/makefile
+++ b/codec/build/linux/dec/makefile
@@ -26,7 +26,7 @@
 
 LIBS= -lstdc++ -ldl
 #-lm
-CFLAGS=  $(INCLUDE) -fPIC -D__GCC__ -DLINUX -D__NO_CTYPE
+CFLAGS=  $(INCLUDE) -fPIC -D__GCC__ -DLINUX
 
 ifeq ($(DBG),1)
 #SUFFIX= .dbg
--- a/codec/build/linux/enc/makefile
+++ b/codec/build/linux/enc/makefile
@@ -27,7 +27,7 @@
 
 LIBS= -lstdc++ -ldl -lpthread -lm
 #-lm
-CFLAGS=  $(INCLUDE) -m32 -fPIC -D__GCC__ -DLINUX -D__NO_CTYPE -DWELS_TESTBED -DMT_ENABLED
+CFLAGS=  $(INCLUDE) -m32 -fPIC -D__GCC__ -DLINUX -DWELS_TESTBED -DMT_ENABLED
 
 ifeq ($(DBG),1)
 #SUFFIX= .dbg