Don't include C++ headers in extern C
This commit is contained in:
parent
99b3c03b32
commit
24bcf7f7ce
@ -40,16 +40,16 @@
|
|||||||
#ifndef STORAGE_LEVELDB_INCLUDE_C_H_
|
#ifndef STORAGE_LEVELDB_INCLUDE_C_H_
|
||||||
#define STORAGE_LEVELDB_INCLUDE_C_H_
|
#define STORAGE_LEVELDB_INCLUDE_C_H_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "leveldb/export.h"
|
#include "leveldb/export.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Exported types */
|
/* Exported types */
|
||||||
|
|
||||||
typedef struct leveldb_t leveldb_t;
|
typedef struct leveldb_t leveldb_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user