Browse Source

Fix: fix sqlite.h include clash on at least macOS.

macOS system sqlite.h changed and now the include guard token is _SQLITE3_H_ instead of SQLITE3_H as in the amalgamation. yay.
pull/15/head
heck 3 years ago
parent
commit
f7c2714a14
  1. 5
      src/pEpSQLite.hh

5
src/pEpSQLite.hh

@ -3,7 +3,10 @@
#ifndef LIBPEPADAPTER_PEPSQLITE_HH
#define LIBPEPADAPTER_PEPSQLITE_HH
#include "internal/sqlite3.h"
// Include guard for "some" sqlite.h which use _SQLITE3_H_ as include guard (e.g. System SDK sqlite3.h on macOS)
#ifndef _SQLITE3_H_
#include "internal/sqlite3.h"
#endif
#include <pEp/pEpLog.hh>
#include <iostream>
#include <vector>

Loading…
Cancel
Save