summaryrefslogtreecommitdiff
path: root/boost/dll/detail/pe_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/dll/detail/pe_info.hpp')
-rw-r--r--boost/dll/detail/pe_info.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/boost/dll/detail/pe_info.hpp b/boost/dll/detail/pe_info.hpp
index 341a12323b..72668a075f 100644
--- a/boost/dll/detail/pe_info.hpp
+++ b/boost/dll/detail/pe_info.hpp
@@ -14,6 +14,7 @@
# pragma once
#endif
+#include <boost/cstdint.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/dll/detail/x_info_interface.hpp>
@@ -29,9 +30,9 @@ namespace boost { namespace dll { namespace detail {
// because that header must be included only on Windows platform
typedef unsigned char BYTE_;
typedef unsigned short WORD_;
-typedef unsigned long DWORD_;
-typedef long LONG_;
-typedef unsigned long ULONG_;
+typedef boost::uint32_t DWORD_;
+typedef boost::int32_t LONG_;
+typedef boost::uint32_t ULONG_;
typedef boost::int64_t LONGLONG_;
typedef boost::uint64_t ULONGLONG_;