Fix ESQLITE_USE_SYSTEM

This fixes the logic for setting the include directory for the sqlite
header file
This commit is contained in:
Connor Rigby
2019-04-19 08:17:27 -07:00
parent b3e158311f
commit dea7ba1a35
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
#include <string.h>
#include <stdio.h>
#include "sqlite3.h"
#include <sqlite3.h>
#include "queue.h"
#define MAX_ATOM_LENGTH 255 /* from atom.h, not exposed in erlang include */
@@ -989,7 +989,7 @@ esqlite_get_autocommit(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
cmd->ref = enif_make_copy(cmd->env, argv[1]);
cmd->pid = pid;
return push_command(env, db, cmd);
return push_command(env, db, cmd);
}
/*