Ver Fonte

[hash.h] Fixing IMP if

Vinicius Teshima há 2 anos atrás
pai
commit
39ae2f9cc4
1 ficheiros alterados com 1 adições e 1 exclusões
  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[] = {