Replace pragma onces with guards because preproc names are useful

This commit is contained in:
Krzosa Karol
2024-01-28 19:17:13 +01:00
parent 57b61e366f
commit 908cfca794
15 changed files with 184 additions and 152 deletions

View File

@@ -1,4 +1,5 @@
#pragma once
#ifndef FIRST_HASH_HEADER
#define FIRST_HASH_HEADER
#include <stdint.h>
#ifndef HASH_API_FUNCTION
@@ -24,3 +25,4 @@ HASH_API_FUNCTION uint64_t HashMix(uint64_t x, uint64_t y);
#define WRAP_AROUND_POWER_OF_2(x, pow2) (((x) & ((pow2)-1llu)))
static inline float GetRandomNormalF(RandomSeed *series) { return (float)GetRandomNormal(series); }
#endif