aboutsummaryrefslogtreecommitdiffstats
path: root/gb_math.h
diff options
context:
space:
mode:
authorGravatar gingerBill 2016-04-08 23:28:48 +0100
committerGravatar gingerBill 2016-04-08 23:28:48 +0100
commitd840be2431961db20c78172c869a6b56a8d08ac1 (patch)
tree084f06a91788f43687b0a813518fe63526020ec2 /gb_math.h
parentUpdate gb_math.h (diff)
Use 64-bit murmur64 version on WIN64
Diffstat (limited to 'gb_math.h')
-rw-r--r--gb_math.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gb_math.h b/gb_math.h
index a43d948..04f670d 100644
--- a/gb_math.h
+++ b/gb_math.h
@@ -1,9 +1,10 @@
-// gb_math.h - v0.04b - public domain C math library - no warranty implied; use at your own risk
+// gb_math.h - v0.04c - public domain C math library - no warranty implied; use at your own risk
// A C math library geared towards game development
// use '#define GB_MATH_IMPLEMENTATION' before including to create the implementation in _ONE_ file
/*
Version History:
+ 0.04c - Use 64-bit murmur64 version on WIN64
0.04b - Fix strict aliasing in gb_quake_inv_sqrt
0.04a - Minor bug fixes
0.04 - Namespace everything with gb
@@ -1814,8 +1815,7 @@ gb_rect2_intersection_result(gbRect2 a, gbRect2 b, gbRect2 *intersection)
}
-#if defined(__x86_64__) || defined(__ppc64__)
-
+#if defined(_WIN64) || defined(__x86_64__) || defined(__ppc64__)
gb_math_u64
gb_hash_murmur64(void const *key, size_t num_bytes, gb_math_u64 seed)
{