mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Merge pull request #2271 from ivaradi/cstdint-fix
Include cstdint only when compiling C++ code
This commit is contained in:
commit
770e3e7b85
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