diff --git a/misc/sqlite/go-sqlite.h b/misc/sqlite/go-sqlite.h index 3556cf227..562161079 100644 --- a/misc/sqlite/go-sqlite.h +++ b/misc/sqlite/go-sqlite.h @@ -1,4 +1,10 @@ -#define SQLITE_OS_OTHER 1 +#if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) +# error Not working on Windows yet +#elif defined(__unix__) +# define SQLITE_OS_OTHER 1 +#else +# error Unsupported OS +#endif #ifndef INCLUDE_SQLITE_VERSION_SYMBOL #define SKIP_SQLITE_VERSION