浏览代码

Don't include C++ headers in extern C

main
Paul Beusterien 3 年前
父节点
当前提交
24bcf7f7ce
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      include/leveldb/c.h

+ 4
- 4
include/leveldb/c.h 查看文件

@ -40,16 +40,16 @@
#ifndef STORAGE_LEVELDB_INCLUDE_C_H_
#define STORAGE_LEVELDB_INCLUDE_C_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include "leveldb/export.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported types */
typedef struct leveldb_t leveldb_t;

正在加载...
取消
保存