| 1 |
/* |
| 2 |
* Copyright 2006 The Android Open Source Project |
| 3 |
* |
| 4 |
* Use of this source code is governed by a BSD-style license that can be |
| 5 |
* found in the LICENSE file. |
| 6 |
*/ |
| 7 |
|
| 8 |
#include <cstdarg> |
| 9 |
#include "include/private/base/SkDebug.h" |
| 10 |
#include "include/private/base/SkFeatures.h" |
| 11 |
#include "include/private/base/SkLoadUserConfig.h" |
| 12 |
#include "include/private/base/SkLog.h" |
| 13 |
|
| 14 |
#if !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID) |
| 15 |
|
| 16 |
#include <stdarg.h> |
| 17 |
#include <stdio.h> |
| 18 |
|
| 19 |
void SkLogVAList(SkLogPriority priority, const char format[], va_list args) { |
| 20 |
#pragma GCC diagnostic push |
| 21 |
#pragma GCC diagnostic ignored "-Wformat-nonliteral" |
| 22 |
vfprintf(stderr, format, args); |
| 23 |
#pragma GCC diagnostic pop |
| 24 |
} |
| 25 |
#endif // !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID) |