summarylogtreecommitdiffstats
path: root/0002-Fix-_SIZE_T_DEFINED-under-mingw-w64.patch
blob: 71c7708130db4c5bfa144170f65a2a9bd886d20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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