Skip to content

Commit

Permalink
Json (#1817)
Browse files Browse the repository at this point in the history
* Don't include incorrect JSON header file.

* Don't force big ints to be long long - use natural 64-bit type.
  • Loading branch information
abellgithub committed Feb 25, 2018
1 parent e4573b9 commit 458a9fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vendor/arbiter/CMakeLists.txt
Expand Up @@ -13,7 +13,7 @@ endif()

PDAL_ADD_FREE_LIBRARY(${PDAL_ARBITER_LIB_NAME} STATIC arbiter.cpp)
target_include_directories(${PDAL_ARBITER_LIB_NAME} PRIVATE
${PDAL_VENDOR_DIR}/jsoncpp/dist)
${PDAL_JSONCPP_INCLUDE_DIR})
target_link_libraries(${PDAL_ARBITER_LIB_NAME})
#
# Arbiter is built static but is included in a shared lib.
Expand Down
4 changes: 2 additions & 2 deletions vendor/jsoncpp/dist/json/json.h
Expand Up @@ -209,8 +209,8 @@ typedef unsigned int LargestUInt;
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
#else // if defined(_MSC_VER) // Other platforms, use long long
typedef long long int Int64;
typedef unsigned long long int UInt64;
typedef int64_t Int64;
typedef uint64_t UInt64;
#endif // if defined(_MSC_VER)
typedef Int64 LargestInt;
typedef UInt64 LargestUInt;
Expand Down

0 comments on commit 458a9fe

Please sign in to comment.