Skip to content

Commit 080f8b3

Browse files
committed
portable header guard
1 parent e511772 commit 080f8b3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

chibihash64.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
#ifndef CHIBIHASH64__HGUARD
2+
#define CHIBIHASH64__HGUARD
13
// small, fast 64 bit hash function (version 2).
24
//
35
// https://github.com/N-R-K/ChibiHash
46
//
57
// This is free and unencumbered software released into the public domain.
68
// For more information, please refer to <https://unlicense.org/>
7-
#pragma once
89
#include <stdint.h>
910
#include <stddef.h>
1011

@@ -77,3 +78,5 @@ chibihash64(const void *keyIn, ptrdiff_t len, uint64_t seed)
7778

7879
return x;
7980
}
81+
82+
#endif // CHIBIHASH64__HGUARD

0 commit comments

Comments
 (0)