shithub: openh264

Download patch

ref: 867d39e01be1d6747eef25213c48080f755ab35f
parent: f8b84b642d453e77699ba452d305424fc066d341
author: Martin Storsjö <martin@martin.st>
date: Tue Jan 21 09:55:23 EST 2014

Remove system header/define hackery in welsenc.cpp

There doesn't seem to be any actual need for this, building
on linux still works just fine.

--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -45,16 +45,6 @@
 
 //#define STICK_STREAM_SIZE
 
-#if defined(__GNUC__)
-#if !defined(MACOS)
-#if !defined(_MATH_H_MATHDEF)
-#define _MATH_H_MATHDEF
-//#else
-//#error "warning: have defined _MATH_H_MATHDEF!!"	// to check
-#endif//_MATH_H_MATHDEF
-#endif//MACOS
-#endif//__GNUC__
-
 #include "measure_time.h"
 #include "param_svc.h"
 //#include "layered_pic_buffer.h"