summaryrefslogtreecommitdiff
path: root/mysqlcppconn
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-06-02 13:26:30 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-02 20:41:54 +0200
commit830974305d1324d79845c03c4fa8e90ff1416c8a (patch)
treebb035bd4b53728e93043ab3752b8321c81751f67 /mysqlcppconn
parent5ea77b08588a03525817cc3cc7bca9360b2b75c2 (diff)
mysqlcppconn: MSVC 2010 finally has grown a stdint.h
Change-Id: I5b8d948aad94ba492075245c18c8ed781baa469e (cherry picked from commit 23583553d1a9951eaa33dfb598606cdf55d3f01a)
Diffstat (limited to 'mysqlcppconn')
-rw-r--r--mysqlcppconn/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysqlcppconn/config.h b/mysqlcppconn/config.h
index 19cf389d20a3..e30a0cbc9248 100644
--- a/mysqlcppconn/config.h
+++ b/mysqlcppconn/config.h
@@ -5,10 +5,12 @@
#define HAVE_FUNCTION_STRTOL 1
#define HAVE_FUNCTION_STRTOULL 1
-#if defined(MACOSX) || defined(SOLARIS) || defined(LINUX)
+#if defined(MACOSX) || defined(SOLARIS) || defined(LINUX) || (defined _MSC_VER && _MSC_VER >= 1600)
#define HAVE_STDINT_H
+#ifndef _MSC_VER
#define HAVE_INTTYPES_H
#endif
+#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>