Skip to content

Commit

Permalink
Merge pull request #2 from firebase/toolchain-fixes
Browse files Browse the repository at this point in the history
Don't include C++ headers in extern C
  • Loading branch information
paulb777 authored Mar 4, 2021
2 parents fa1f25f + e4e8ab4 commit 0706abc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/leveldb/c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0706abc

Please sign in to comment.