Index: third_party/sqlite/src/src/test_windirent.h |
diff --git a/third_party/sqlite/src/src/test_windirent.h b/third_party/sqlite/src/src/test_windirent.h |
index 0b8d1a7b517e1d7267b1354be6dd679b6d80d805..578e2a7c22e5661b1cb6dd5f1ba5b14e414c5e39 100644 |
--- a/third_party/sqlite/src/src/test_windirent.h |
+++ b/third_party/sqlite/src/src/test_windirent.h |
@@ -93,6 +93,24 @@ struct DIR { |
}; |
/* |
+** Provide a macro, for use by the implementation, to determine if a |
+** particular directory entry should be skipped over when searching for |
+** the next directory entry that should be returned by the readdir() or |
+** readdir_r() functions. |
+*/ |
+ |
+#ifndef is_filtered |
+# define is_filtered(a) ((((a).attrib)&_A_HIDDEN) || (((a).attrib)&_A_SYSTEM)) |
+#endif |
+ |
+/* |
+** Provide the function prototype for the POSIX compatiable getenv() |
+** function. This function is not thread-safe. |
+*/ |
+ |
+extern const char *windirent_getenv(const char *name); |
+ |
+/* |
** Finally, we can provide the function prototypes for the opendir(), |
** readdir(), readdir_r(), and closedir() POSIX functions. |
*/ |