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

Side by Side Diff: include/core/SkPostConfig.h

Issue 198643004: Fixed cross compilation with mingw. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: try2: Use SkAtomics_sync.h on mingw Created 6 years, 9 months 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
« no previous file with comments | « no previous file | src/ports/SkOSFile_win.cpp » ('j') | src/ports/SkOSFile_win.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPostConfig_DEFINED 8 #ifndef SkPostConfig_DEFINED
9 #define SkPostConfig_DEFINED 9 #define SkPostConfig_DEFINED
10 10
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 367
368 ////////////////////////////////////////////////////////////////////// 368 //////////////////////////////////////////////////////////////////////
369 369
370 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 370 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
371 # define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 371 # define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1
372 #endif 372 #endif
373 373
374 ////////////////////////////////////////////////////////////////////// 374 //////////////////////////////////////////////////////////////////////
375 375
376 #ifndef SK_ATOMICS_PLATFORM_H 376 #ifndef SK_ATOMICS_PLATFORM_H
377 # if defined(SK_BUILD_FOR_WIN) 377 # if defined(_MSC_VER)
bungeman-skia 2014/03/14 17:50:18 Mike will probably want to consider this.
378 # define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_win.h" 378 # define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_win.h"
379 # elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK) 379 # elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
380 # define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_android.h" 380 # define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_android.h"
381 # else 381 # else
382 # define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_sync.h" 382 # define SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_sync.h"
383 # endif 383 # endif
384 #endif 384 #endif
385 385
386 #ifndef SK_MUTEX_PLATFORM_H 386 #ifndef SK_MUTEX_PLATFORM_H
387 # if defined(SK_BUILD_FOR_WIN) 387 # if defined(SK_BUILD_FOR_WIN)
388 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h" 388 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h"
389 # else 389 # else
390 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h" 390 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"
391 # endif 391 # endif
392 #endif 392 #endif
393 393
394 #endif // SkPostConfig_DEFINED 394 #endif // SkPostConfig_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/ports/SkOSFile_win.cpp » ('j') | src/ports/SkOSFile_win.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698