OLD | NEW |
---|---|
1 /* Copyright (c) 2005-2008, Google Inc. | 1 /* Copyright (c) 2005-2008, Google Inc. |
2 * All rights reserved. | 2 * All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 #include <stdarg.h> | 150 #include <stdarg.h> |
151 #include <stddef.h> | 151 #include <stddef.h> |
152 #include <stdint.h> | 152 #include <stdint.h> |
153 #include <string.h> | 153 #include <string.h> |
154 #include <sys/ptrace.h> | 154 #include <sys/ptrace.h> |
155 #include <sys/resource.h> | 155 #include <sys/resource.h> |
156 #include <sys/time.h> | 156 #include <sys/time.h> |
157 #include <sys/types.h> | 157 #include <sys/types.h> |
158 #if defined(__ANDROID__) | 158 #if defined(__ANDROID__) |
159 #include <sys/syscall.h> | 159 #include <sys/syscall.h> |
160 #include <sys/linux-syscalls.h> | 160 #ifndef ANDROID_NON_SDK_BUILD |
161 # include <sys/linux-syscalls.h> | |
willchan no longer on Chromium
2013/07/18 16:20:26
Is this a typo? Why is there a space between '#' a
mnaganov (inactive)
2013/07/18 16:24:37
It's indentation within preprocessor directives. E
mnaganov (inactive)
2013/07/18 16:26:02
Sorry, the link doesn't work. Just search for "# i
willchan no longer on Chromium
2013/07/18 16:35:21
I learned some new things today :) Thanks! Never h
| |
162 #endif | |
161 #else | 163 #else |
162 #include <syscall.h> | 164 #include <syscall.h> |
163 #endif | 165 #endif |
164 #include <unistd.h> | 166 #include <unistd.h> |
165 #include <linux/unistd.h> | 167 #include <linux/unistd.h> |
166 #include <endian.h> | 168 #include <endian.h> |
167 | 169 |
168 #ifdef __mips__ | 170 #ifdef __mips__ |
169 /* Include definitions of the ABI currently in use. */ | 171 /* Include definitions of the ABI currently in use. */ |
170 #include <sgidefs.h> | 172 #include <sgidefs.h> |
(...skipping 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2269 return rc; | 2271 return rc; |
2270 } | 2272 } |
2271 #endif | 2273 #endif |
2272 | 2274 |
2273 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) | 2275 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) |
2274 } | 2276 } |
2275 #endif | 2277 #endif |
2276 | 2278 |
2277 #endif | 2279 #endif |
2278 #endif | 2280 #endif |
OLD | NEW |