Sfoglia il codice sorgente

Don't include C++ headers in extern C

naive_version
Paul Beusterien 3 anni fa
parent
commit
24bcf7f7ce
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +4
    -4
      include/leveldb/c.h

+ 4
- 4
include/leveldb/c.h Vedi 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;

Caricamento…
Annulla
Salva