Christian Smith wrote:

You must disclaim copyright on any patches you do to be even considered
for inclusion into SQLite. Check out:
http://www.sqlite.org/copyright.html


Thanks for the info Christian, sorry I didn't notice the requirement when submitting the original patch. :)

Here's the patch again, along with my copyright disclaimer:

/The author or authors of this code dedicate any and all copyright interest in this code to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights this code under copyright law.

/--- os_win.c 17 Nov 2004 00:21:38 -0000 1.1
+++ os_win.c 4 Feb 2005 04:10:02 -0000 1.2
@@ -21,6 +21,16 @@
/*
** Macros used to determine whether or not to use threads.
*/
+#if defined(_MSC_VER)
+# if defined(_MT)
+# define SQLITE_W32_THREADS 1
+# pragma message("sqlite3 thread-safe support enabled.")
+# else
+# undef SQLITE_W32_THREADS
+# pragma message("sqlite3 thread-safe support disabled.")
+# endif
+#endif
+
#if defined(THREADSAFE) && THREADSAFE
# define SQLITE_W32_THREADS 1
#endif
/
/Please consider this patch for inclusion into sqlite3. The "pragma message" directives are completely optional and can be removed if you wish to prevent the display of the thread safe status of sqlite3 while being built with MSVC under windows.


Thanks,

--
Jeff Thompson
/
/

Reply via email to