mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 21:38:19 +00:00

With Visual Studio versions 2008 and older they ignore the full path to files and only check the basename of the file to find a collision. Additionally, having duplicate basenames can break other build tools like GYP. This fixes https://github.com/libgit2/libgit2/issues/3356
19 lines
487 B
C
19 lines
487 B
C
/*
|
|
* Copyright (C) the libgit2 contributors. All rights reserved.
|
|
*
|
|
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
* a Linking Exception. For full terms see the included COPYING file.
|
|
*/
|
|
#ifndef INCLUDE_git_win32_buffer_h__
|
|
#define INCLUDE_git_win32_buffer_h__
|
|
|
|
#include "../buffer.h"
|
|
|
|
/**
|
|
* Convert a wide character string to UTF-8 and append the results to the
|
|
* buffer.
|
|
*/
|
|
int git_buf_put_w(git_buf *buf, const wchar_t *string_w, size_t len_w);
|
|
|
|
#endif
|