Browse Source

Don't include C++ headers in extern C

xry
Paul Beusterien 3 years ago
parent
commit
24bcf7f7ce
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      include/leveldb/c.h

+ 4
- 4
include/leveldb/c.h View File

@ -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;

Loading…
Cancel
Save