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