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

Side by Side Diff: third_party/libjingle/files/talk/base/stringutils.h

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 13 matching lines...) Expand all
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #ifndef TALK_BASE_STRINGUTILS_H__ 28 #ifndef TALK_BASE_STRINGUTILS_H__
29 #define TALK_BASE_STRINGUTILS_H__ 29 #define TALK_BASE_STRINGUTILS_H__
30 30
31 #include <ctype.h> 31 #include <ctype.h>
32 #include <stdarg.h> 32 #include <stdarg.h>
33 #include <stdio.h> 33 #include <stdio.h>
34 #include <string.h>
34 #ifdef WIN32 35 #ifdef WIN32
35 #include <wchar.h> 36 #include <wchar.h>
36 #endif // WIN32 37 #endif // WIN32
37 38
38 #include <string> 39 #include <string>
39 40
40 /////////////////////////////////////////////////////////////////////////////// 41 ///////////////////////////////////////////////////////////////////////////////
41 // Generic string/memory utilities 42 // Generic string/memory utilities
42 /////////////////////////////////////////////////////////////////////////////// 43 ///////////////////////////////////////////////////////////////////////////////
43 44
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 struct Traits<wchar_t> { 285 struct Traits<wchar_t> {
285 typedef std::wstring string; 286 typedef std::wstring string;
286 inline static const wchar_t* Traits<wchar_t>::empty_str() { return L""; } 287 inline static const wchar_t* Traits<wchar_t>::empty_str() { return L""; }
287 }; 288 };
288 289
289 #endif // WIN32 290 #endif // WIN32
290 291
291 } // namespace talk_base 292 } // namespace talk_base
292 293
293 #endif // TALK_BASE_STRINGUTILS_H__ 294 #endif // TALK_BASE_STRINGUTILS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698