26 lines
798 B
Diff
26 lines
798 B
Diff
From 61d9463469334dec02e49c37a5710d06278e4682 Mon Sep 17 00:00:00 2001
|
|
From: Martchus <martchus@gmx.net>
|
|
Date: Sat, 17 Sep 2016 16:44:14 +0200
|
|
Subject: [PATCH 2/3] Fix _SIZE_T_DEFINED under mingw-w64
|
|
|
|
---
|
|
include/my_global.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/my_global.h b/include/my_global.h
|
|
index e596d45..82a9284 100644
|
|
--- a/include/my_global.h
|
|
+++ b/include/my_global.h
|
|
@@ -450,7 +450,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
|
|
#define NO_PISAM /* Not needed anymore */
|
|
#define NO_MISAM /* Not needed anymore */
|
|
#define NO_HASH /* Not needed anymore */
|
|
-#ifdef _WIN32
|
|
+#if defined(_WIN32) && !defined(__MINGW32__)
|
|
#define NO_DIR_LIBRARY /* Not standar dir-library */
|
|
#define USE_MY_STAT_STRUCT /* For my_lib */
|
|
#ifdef _MSC_VER
|
|
--
|
|
2.13.0
|
|
|