aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsDebug.h
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-10 15:55:37 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-10 15:55:37 +0000
commit66089e4ec4f1702caf2154780471417872862148 (patch)
treee078d7a335a396cc325f2d2f55723315307eb07d /src/pathops/SkPathOpsDebug.h
parent51dbabee67ea1285e1115e535d26944d4da99be5 (diff)
Make parallel unit testing work on windows
Review URL: https://codereview.chromium.org/14072002 git-svn-id: http://skia.googlecode.com/svn/trunk@8594 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pathops/SkPathOpsDebug.h')
-rw-r--r--src/pathops/SkPathOpsDebug.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pathops/SkPathOpsDebug.h b/src/pathops/SkPathOpsDebug.h
index 9735112689..53991bc642 100644
--- a/src/pathops/SkPathOpsDebug.h
+++ b/src/pathops/SkPathOpsDebug.h
@@ -18,8 +18,6 @@
#define ONE_OFF_DEBUG 0
#define ONE_OFF_DEBUG_MATHEMATICA 0
-#if defined SK_DEBUG || !FORCE_RELEASE
-
#ifdef SK_BUILD_FOR_WIN
#define SK_RAND(seed) rand()
#define SK_SNPRINTF _snprintf
@@ -28,12 +26,15 @@
#define SK_SNPRINTF snprintf
#endif
+#if defined SK_DEBUG || !FORCE_RELEASE
+
void mathematica_ize(char* str, size_t bufferSize);
bool valid_wind(int winding);
void winding_printf(int winding);
extern int gDebugMaxWindSum;
extern int gDebugMaxWindValue;
+
#endif
#if FORCE_RELEASE