Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: third_party/libjingle/files/talk/base/stringencode.cc

Issue 338037: linux: fix gcc 4.3 issues (for arm) (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004--2005, Google Inc. 3 * Copyright 2004--2005, Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 14 matching lines...) Expand all
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #ifdef WIN32 28 #ifdef WIN32
29 #include <malloc.h> 29 #include <malloc.h>
30 #endif // WIN32 30 #endif // WIN32
31 #ifdef POSIX 31 #ifdef POSIX
32 #include <alloca.h> 32 #include <alloca.h>
33 #define _alloca alloca 33 #define _alloca alloca
34 #endif // POSIX 34 #endif // POSIX
35 #include <stdlib.h>
35 36
36 #include "talk/base/basictypes.h" 37 #include "talk/base/basictypes.h"
37 #include "talk/base/common.h" 38 #include "talk/base/common.h"
38 #include "talk/base/stringencode.h" 39 #include "talk/base/stringencode.h"
39 #include "talk/base/stringutils.h" 40 #include "talk/base/stringutils.h"
40 41
41 namespace talk_base { 42 namespace talk_base {
42 43
43 ///////////////////////////////////////////////////////////////////////////// 44 /////////////////////////////////////////////////////////////////////////////
44 // String Encoding Utilities 45 // String Encoding Utilities
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 return 1; 571 return 1;
571 } 572 }
572 573
573 int test = utf8_unittest(); 574 int test = utf8_unittest();
574 575
575 #endif // _DEBUG 576 #endif // _DEBUG
576 577
577 ///////////////////////////////////////////////////////////////////////////// 578 /////////////////////////////////////////////////////////////////////////////
578 579
579 } // namespace talk_base 580 } // namespace talk_base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698