aboutsummaryrefslogtreecommitdiffstats
path: root/testing/firefox/getchar.patch
blob: 981206b971ebb42dadb2f952e301e060e9ef1287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp.orig
+++ ./media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp
@@ -21,6 +21,11 @@
 #include "constants.hpp"
 #include <cstring>
 
+/* prevent the getchar macro from stdio to take preference over the local var */
+#if defined(__UCLIBC__)
+#undef getchar
+#endif
+
 namespace boost {
   namespace detail {
   	//This only works on unsigned data types