Skip to content

Commit

Permalink
Update types.h, add #include<stdint.h> (oceanbase#379)
Browse files Browse the repository at this point in the history
### What problem were solved in this pull request?
g++13 can't compile
Issue Number: oceanbase#378 

Problem: no header included in types.h

### What is changed and how it works?
add #include<stdint.h> or <cstdint>
### Other information

---------

Co-authored-by: wangyunlai <[email protected]>
  • Loading branch information
707state and hnwyllmm authored Apr 18, 2024
1 parent 6ac17fe commit be0dcfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/observer/common/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See the Mulan PSL v2 for more details. */
//

#pragma once

#include <stdint.h>
/// 磁盘文件,包括存放数据的文件和索引(B+-Tree)文件,都按照页来组织
/// 每一页都有一个编号,称为PageNum
using PageNum = int32_t;
Expand Down

0 comments on commit be0dcfe

Please sign in to comment.