Skip to content

Commit

Permalink
dont compare what you dont know
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jul 27, 2020
1 parent df2c37a commit 39d9ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ check_type_size("size_t" SIZEOF_SIZE_T)
MESSAGE("size_t ${SIZEOF_SIZE_T}")
CHECK_TYPE_SIZE("long long" SIZEOF_LONG_LONG)
MESSAGE("long long ${SIZEOF_LONG_LONG}")
if (NOT ${SIZEOF_SIZE_T} EQUAL ${SIZEOF_LONG_LONG})
if (SIZEOF_SIZE_T AND SIZEOF_LONG_LONG AND NOT ${SIZEOF_SIZE_T} EQUAL ${SIZEOF_LONG_LONG})
message (FATAL_ERROR "size_t and long long must be the same size!")
endif ()

Expand Down

0 comments on commit 39d9ae1

Please sign in to comment.