]> git.proxmox.com Git - libgit2.git/blobdiff - src/win32/mingw-compat.h
Merge https://salsa.debian.org/debian/libgit2 into proxmox/bullseye
[libgit2.git] / src / win32 / mingw-compat.h
diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h
deleted file mode 100644 (file)
index aa2bef9..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * 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_win32_mingw_compat_h__
-#define INCLUDE_win32_mingw_compat_h__
-
-#if defined(__MINGW32__)
-
-#undef stat
-
-#if _WIN32_WINNT < 0x0600 && !defined(__MINGW64_VERSION_MAJOR)
-#undef MemoryBarrier
-void __mingworg_MemoryBarrier(void);
-#define MemoryBarrier __mingworg_MemoryBarrier
-#define VOLUME_NAME_DOS 0x0
-#endif
-
-#endif
-
-#endif