Explorar o código

[hash.h] Fixing IMP if

Vinicius Teshima %!s(int64=2) %!d(string=hai) anos
pai
achega
39ae2f9cc4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/toolbox/hash.h

+ 1 - 1
include/toolbox/hash.h

@@ -9,7 +9,7 @@ typedef char byte_t;
 __attribute__((access (read_only, 1), nonnull, pure))
 uint64_t hash(const byte_t* data, size_t size);
 
-#if defined(CSTRING_IMP) || defined(IMPLEMENTATIONS)
+#if defined(HASH_IMP) || defined(IMPLEMENTATIONS)
 
 uint64_t hash(const byte_t* data, size_t size) {
 	static uint8_t _primes_list[] = {