OLD | NEW |
---|---|
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_PORT_H_ | 5 #ifndef BASE_PORT_H_ |
6 #define BASE_PORT_H_ | 6 #define BASE_PORT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <stdarg.h> | 9 #include <stdarg.h> |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 #define GG_VA_COPY(a, b) (a = b) | 45 #define GG_VA_COPY(a, b) (a = b) |
46 #endif | 46 #endif |
47 | 47 |
48 // Define an OS-neutral wrapper for shared library entry points | 48 // Define an OS-neutral wrapper for shared library entry points |
49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
50 #define API_CALL __stdcall | 50 #define API_CALL __stdcall |
51 #else | 51 #else |
52 #define API_CALL | 52 #define API_CALL |
53 #endif | 53 #endif |
54 | 54 |
55 #if defined(OS_ANDROID) | |
56 #include <ctype.h> | |
brettw
2011/06/24 22:23:57
What's this for?
michaelbai
2011/06/24 23:30:44
It is for tolower isspace etc. I can not figure ou
brettw
2011/06/25 00:07:19
Seems like we should be adding the ctype includes
michaelbai
2011/06/28 18:02:10
It seemed that I have to change too many files and
brettw
2011/06/29 16:38:36
I really don't think ctype.h should be in any comm
michaelbai
2011/07/06 18:05:52
Done.
| |
57 #endif | |
58 | |
55 #endif // BASE_PORT_H_ | 59 #endif // BASE_PORT_H_ |
OLD | NEW |