summaryrefslogtreecommitdiffstats
path: root/skia/corecg/SkDebug_stdio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'skia/corecg/SkDebug_stdio.cpp')
-rw-r--r--skia/corecg/SkDebug_stdio.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/skia/corecg/SkDebug_stdio.cpp b/skia/corecg/SkDebug_stdio.cpp
index 6da09af..d455131 100644
--- a/skia/corecg/SkDebug_stdio.cpp
+++ b/skia/corecg/SkDebug_stdio.cpp
@@ -1,6 +1,6 @@
/* libs/corecg/SkDebug_stdio.cpp
**
-** Copyright 2006, Google Inc.
+** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
@@ -42,11 +42,12 @@ void Android_SkDebugf(const char* file, int line, const char* function,
va_end(args);
}
-#elif defined(SK_DEBUG)
+#else
#include <stdarg.h>
#include <stdio.h>
+#if 0
void SkDebugf(const char format[], ...)
{
char buffer[kBufferSize + 1];
@@ -56,6 +57,7 @@ void SkDebugf(const char format[], ...)
va_end(args);
fprintf(stderr, buffer);
}
+#endif
#endif