Blame src/win32/mingw-compat.h

Packit Service 20376f
/*
Packit Service 20376f
 * Copyright (C) the libgit2 contributors. All rights reserved.
Packit Service 20376f
 *
Packit Service 20376f
 * This file is part of libgit2, distributed under the GNU GPL v2 with
Packit Service 20376f
 * a Linking Exception. For full terms see the included COPYING file.
Packit Service 20376f
 */
Packit Service 20376f
#ifndef INCLUDE_mingw_compat__
Packit Service 20376f
#define INCLUDE_mingw_compat__
Packit Service 20376f
Packit Service 20376f
#if defined(__MINGW32__)
Packit Service 20376f
Packit Service 20376f
#undef stat
Packit Service 20376f
Packit Service 20376f
#if _WIN32_WINNT < 0x0600 && !defined(__MINGW64_VERSION_MAJOR)
Packit Service 20376f
#undef MemoryBarrier
Packit Service 20376f
void __mingworg_MemoryBarrier(void);
Packit Service 20376f
#define MemoryBarrier __mingworg_MemoryBarrier
Packit Service 20376f
#define VOLUME_NAME_DOS 0x0
Packit Service 20376f
#endif
Packit Service 20376f
Packit Service 20376f
#endif
Packit Service 20376f
Packit Service 20376f
#endif /* INCLUDE_mingw_compat__ */