summaryrefslogtreecommitdiffstats
path: root/main/xulrunner/getchar.patch
blob: f50db879c8960ac382926f3c0945c5ff539d04de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./media/webrtc/trunk/src/system_wrappers/source/spreadsortlib/spreadsort.hpp.orig
+++ ./media/webrtc/trunk/src/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