fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / mysqlcppconn / config.h
blob7736c611f7bec50c23bdca6b631b270af5ef1409
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 #include <sal/types.h>
4 #define HAVE_FUNCTION_STRTOL 1
5 #define HAVE_FUNCTION_STRTOUL 1
6 #define HAVE_FUNCTION_STRTOL 1
7 #define HAVE_FUNCTION_STRTOULL 1
9 #if defined(MACOSX) || defined(SOLARIS) || defined(LINUX) || (defined _MSC_VER && _MSC_VER >= 1600)
10 #define HAVE_STDINT_H
11 #ifndef _MSC_VER
12 #define HAVE_INTTYPES_H
13 #endif
14 #endif
16 #ifdef HAVE_STDINT_H
17 #include <stdint.h>
18 #endif
20 #ifdef HAVE_INTTYPES_H
21 #include <inttypes.h>
22 #endif
24 #if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H)
26 // if we do not have the standard C99 integer types, then define them based on the respective SAL types
27 #if !defined(_SYS_TYPES_H)
28 typedef sal_Int8 int8_t;
29 typedef sal_Int16 int16_t;
30 typedef sal_Int32 int32_t;
31 #endif // !defined(_SYS_TYPES_H)
32 typedef sal_uInt8 uint8_t;
33 typedef sal_uInt16 uint16_t;
34 typedef sal_uInt32 uint32_t;
35 typedef sal_Int64 int64_t;
36 typedef sal_uInt64 uint64_t;
37 #endif // !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H)
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */