Skip to content

Commit

Permalink
Merge pull request #178 from jcoby/64bit-checksum
Browse files Browse the repository at this point in the history
Update script CHECKSUM for 64 bit platforms
  • Loading branch information
winterheart authored Apr 25, 2024
2 parents 8770ea4 + e21b8a3 commit 47ff6e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
add_definitions(-DCHECKSUM=2273873307UL)
# 64 bit machines have a different game checksum than 32 bit machines
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
add_definitions(-DCHECKSUM=2273889867UL)
else ()
add_definitions(-DCHECKSUM=2273873307UL)
endif()

set(HEADERS)
set(CPPS)
if (UNIX)
Expand Down

0 comments on commit 47ff6e5

Please sign in to comment.