Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / base / allocator / unittest_utils.cc
blob130ba15f539301735b3b784fd509f725a87912f5
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // The unittests need a this in order to link up without pulling in tons
6 // of other libraries
8 #include <config.h>
10 inline int snprintf(char* buffer, size_t count, const char* format, ...) {
11 int result;
12 va_list args;
13 va_start(args, format);
14 result = _vsnprintf(buffer, count, format, args);
15 va_end(args);
16 return result;