summaryrefslogtreecommitdiffstats
path: root/external/firebird
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-03 11:10:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-06 09:21:24 +0000
commit0ea05f930fb6811da33606cf546057e11a96361c (patch)
tree555eecafc2f850c663180f3d516bcc74abae24e9 /external/firebird
parentsw: prefix members of SwRectFnSet (diff)
downloadcore-0ea05f930fb6811da33606cf546057e11a96361c.tar.gz
core-0ea05f930fb6811da33606cf546057e11a96361c.zip
drop various _MSC_VER < 1900 conditionals
Change-Id: I68d93b260db1f542bb3b44858b61b2d30ae93530 Reviewed-on: https://gerrit.libreoffice.org/34856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'external/firebird')
-rw-r--r--external/firebird/firebird-cygwin-msvc.patch8
1 files changed, 1 insertions, 7 deletions
diff --git a/external/firebird/firebird-cygwin-msvc.patch b/external/firebird/firebird-cygwin-msvc.patch
index 3e769c81871c..658580415ab5 100644
--- a/external/firebird/firebird-cygwin-msvc.patch
+++ b/external/firebird/firebird-cygwin-msvc.patch
@@ -56,7 +56,7 @@
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
-@@ -703,3 +703,40 @@
+@@ -703,3 +703,34 @@
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
@@ -88,15 +88,9 @@
+#define HAVE_GETPAGESIZE
+
+#if defined _MSC_VER
-+#if _MSC_VER < 1500
-+#define vsnprintf _vsnprintf
-+#endif
+#define isnan _isnan
+#endif
+
-+#if _MSC_VER < 1900
-+#define snprintf _snprintf
-+#endif
--- src/common/common.h 2016-07-15 11:31:26.366735500 +0200
+++ src/common/common.h 2016-07-17 16:18:39.121579400 +0200
@@ -551,15 +551,6 @@