mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Include cstdint only when compiling C++ code
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
This commit is contained in:
parent
74c1710ed4
commit
89d4b6e12a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
#ifndef _C_JHASH_H
|
#ifndef _C_JHASH_H
|
||||||
#define _C_JHASH_H
|
#define _C_JHASH_H
|
||||||
|
|
||||||
#include <cstdint>
|
#include <stdint.h> // NOLINT
|
||||||
|
|
||||||
#define c_hashsize(n) ((uint8_t) 1 << (n))
|
#define c_hashsize(n) ((uint8_t) 1 << (n))
|
||||||
#define c_hashmask(n) (xhashsize(n) - 1)
|
#define c_hashmask(n) (xhashsize(n) - 1)
|
||||||
|
|
Loading…
Reference in a new issue