diff options
Diffstat (limited to 'src/freetds-1.patch')
-rw-r--r-- | src/freetds-1.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/freetds-1.patch b/src/freetds-1.patch new file mode 100644 index 0000000..32a6ecb --- /dev/null +++ b/src/freetds-1.patch @@ -0,0 +1,62 @@ +This file is part of MXE. +See index.html for further information. + +From 6f3f9396e79874e3f16c04e3ab34871430ca6d73 Mon Sep 17 00:00:00 2001 +From: Mark Brand <mabrand@mabrand.nl> +Date: Fri, 19 Jun 2015 10:59:58 +0200 +Subject: [PATCH] don't extern "C" {} windows includes + + +diff --git a/include/tds_sysdep_public.h.in b/include/tds_sysdep_public.h.in +index 41fc1f0..0b640dc 100644 +--- a/include/tds_sysdep_public.h.in ++++ b/include/tds_sysdep_public.h.in +@@ -22,11 +22,6 @@ + + /* $Id: tds_sysdep_public.h.in,v 1.15 2011-08-08 07:27:57 freddy77 Exp $ */ + +-#ifdef __cplusplus +-extern "C" +-{ +-#endif +- + /* + ** This is where platform-specific changes need to be made. + */ +@@ -78,8 +73,4 @@ extern "C" + #error MSDBLIB and SYBDBLIB cannot both be defined + #endif + +-#ifdef __cplusplus +-} +-#endif +- + #endif /* _tds_sysdep_public_h_ */ +diff --git a/win32/tds_sysdep_public.h b/win32/tds_sysdep_public.h +index 76f1a28..d8f57dd 100644 +--- a/win32/tds_sysdep_public.h ++++ b/win32/tds_sysdep_public.h +@@ -22,11 +22,6 @@ +
+ /* $Id: tds_sysdep_public.h,v 1.10 2011-08-08 07:27:57 freddy77 Exp $ */
+
+-#ifdef __cplusplus
+-extern "C"
+-{
+-#endif
+-
+ /*
+ ** This is where platform-specific changes need to be made.
+ */
+@@ -54,8 +49,4 @@ extern "C" + #error MSDBLIB and SYBDBLIB cannot both be defined
+ #endif
+
+-#ifdef __cplusplus
+-}
+-#endif
+-
+ #endif /* _tds_sysdep_public_h_ */
+-- +2.1.4 + |