| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkPostConfig_DEFINED | 10 #ifndef SkPostConfig_DEFINED |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 #ifndef sk_memcmp | 254 #ifndef sk_memcmp |
| 255 #define sk_memcmp(s, t, n) memcmp(s, t, n) | 255 #define sk_memcmp(s, t, n) memcmp(s, t, n) |
| 256 #endif | 256 #endif |
| 257 | 257 |
| 258 #define sk_strequal(s, t) (!sk_strcmp(s, t)) | 258 #define sk_strequal(s, t) (!sk_strcmp(s, t)) |
| 259 #define sk_strnequal(s, t, n) (!sk_strncmp(s, t, n)) | 259 #define sk_strnequal(s, t, n) (!sk_strncmp(s, t, n)) |
| 260 #endif | 260 #endif |
| 261 | 261 |
| 262 ////////////////////////////////////////////////////////////////////// | 262 ////////////////////////////////////////////////////////////////////// |
| 263 | 263 |
| 264 #if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC) | |
| 265 #ifndef SkLONGLONG | |
| 266 #ifdef SK_BUILD_FOR_WIN32 | |
| 267 #define SkLONGLONG __int64 | |
| 268 #else | |
| 269 #define SkLONGLONG long long | |
| 270 #endif | |
| 271 #endif | |
| 272 #endif | |
| 273 | |
| 274 ////////////////////////////////////////////////////////////////////////////////
////////////// | |
| 275 #ifndef SK_BUILD_FOR_WINCE | 264 #ifndef SK_BUILD_FOR_WINCE |
| 276 #include <string.h> | 265 #include <string.h> |
| 277 #include <stdlib.h> | 266 #include <stdlib.h> |
| 278 #else | 267 #else |
| 279 #define _CMNINTRIN_DECLARE_ONLY | 268 #define _CMNINTRIN_DECLARE_ONLY |
| 280 #include "cmnintrin.h" | 269 #include "cmnintrin.h" |
| 281 #endif | 270 #endif |
| 282 | 271 |
| 283 #if defined SK_DEBUG && defined SK_BUILD_FOR_WIN32 | 272 #if defined SK_DEBUG && defined SK_BUILD_FOR_WIN32 |
| 284 //#define _CRTDBG_MAP_ALLOC | 273 //#define _CRTDBG_MAP_ALLOC |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 #else | 359 #else |
| 371 #define SK_SIZE_T_SPECIFIER "%zu" | 360 #define SK_SIZE_T_SPECIFIER "%zu" |
| 372 #endif | 361 #endif |
| 373 #endif | 362 #endif |
| 374 | 363 |
| 375 ////////////////////////////////////////////////////////////////////// | 364 ////////////////////////////////////////////////////////////////////// |
| 376 | 365 |
| 377 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS | 366 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS |
| 378 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 | 367 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 |
| 379 #endif | 368 #endif |
| OLD | NEW |