Commit f7c2714a authored by Matthias Heckmann's avatar Matthias Heckmann
Browse files

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.
parent 104cf13e
Pipeline #6052 failed with stage
in 56 seconds
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment