SQLite Forum

Build Error: sqlite3.c(206932): error C2061: syntax error: identifier 'sqlite3_session'
Login
(Without abandoning my reply #7:)
(Edited to add stringification of PP symbol to name include file.)

What would you (or others) think of having the shell and library revised with something like<code>
  #ifdef SQLITE_CUSTOM_INC
  # define INC_STRINGIFY_(f) #f
  # define INC_STRINGIFY(f) INC_STRINGIFY_(f)
  # include INC_STRINGIFY(SQLITE_CUSTOM_INC)
  #endif
</code>appearing early enough in the translation(s) that it can be a substitute for a bunch of -D... compile options?