aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/config.hpp.cmake
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-09-02 08:12:08 +0000
committerVincent Richard <[email protected]>2013-09-02 08:12:08 +0000
commit5084db331ce2ba94a10766e03c8f383d0d57cdd1 (patch)
tree371d597fdaa6e9ecba3ef7676c90b43e7c3c46bb /cmake/config.hpp.cmake
parentFixed linking error on Visual Studio. (diff)
downloadvmime-5084db331ce2ba94a10766e03c8f383d0d57cdd1.tar.gz
vmime-5084db331ce2ba94a10766e03c8f383d0d57cdd1.zip
Added support for standard 64-bit integer type.
Diffstat (limited to 'cmake/config.hpp.cmake')
-rw-r--r--cmake/config.hpp.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/config.hpp.cmake b/cmake/config.hpp.cmake
index d1b235cf..afae3d16 100644
--- a/cmake/config.hpp.cmake
+++ b/cmake/config.hpp.cmake
@@ -28,6 +28,11 @@
#define VMIME_BYTE_ORDER_LITTLE_ENDIAN @VMIME_BYTE_ORDER_LITTLE_ENDIAN@
// Generic types
+#cmakedefine01 VMIME_HAVE_CSTDINT
+#if VMIME_HAVE_CSTDINT
+# include <cstdint>
+#endif
+
// -- 8-bit
typedef signed @VMIME_8BIT_TYPE@ vmime_int8;
typedef unsigned @VMIME_8BIT_TYPE@ vmime_uint8;