mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
* Reduce stack usage of many zstd functions, none use over 388 B anymore. * Remove an incorrect `const` in `xxhash`.
12 lines
144 B
C
12 lines
144 B
C
#ifndef LINUX_MATH64_H
|
|
#define LINUX_MATH64_H
|
|
|
|
#include <stdint.h>
|
|
|
|
static uint64_t div_u64(uint64_t n, uint32_t d)
|
|
{
|
|
return n / d;
|
|
}
|
|
|
|
#endif
|