Compiling sqlite3-3.33.0 on SCO OpenServer 5.0.7
(1) By anonymous on 2020-09-25 18:07:53 [source]
Would a patch such as this stand any chance of being accepted (to allow compilation on SCO OpenServer 5.0.7)?
$ diff -u sqlite3.c.orig sqlite3.c
--- sqlite3.c.orig 2020-08-14 08:42:52.000000000 -0500
+++ sqlite3.c 2020-10-25 13:01:24.000000000 -0500
@@ -13636,7 +13636,7 @@
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
** it.
*/
-#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__)
+#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && !defined(_SCO_DS)
# define _XOPEN_SOURCE 600
#endif