skia2/include/core/SkAtomics.h
mtklein a64c48f4f9 Move sync code to include/, switch from using platform define to a proxy header in core/
This fixes two problems:
  1)  #include SK_SOME_DEFINE doesn't work well for all our clients.
  2)  Things in include/ are #including things in src/, which we don't like.

TBR=reed@google.com

BUG=skia:

Review URL: https://codereview.chromium.org/862983002
2015-01-21 13:13:31 -08:00

14 lines
267 B
C

#ifndef SkAtomics_DEFINED
#define SkAtomics_DEFINED
// This file is not part of the public Skia API.
#include "SkTypes.h"
#if defined(_MSC_VER)
#include "../ports/SkAtomics_win.h"
#else
#include "../ports/SkAtomics_sync.h"
#endif
#endif//SkAtomics_DEFINED