Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: third_party/sqlite/src/src/test_windirent.h

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/src/test_vfs.c ('k') | third_party/sqlite/src/src/test_windirent.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
*/
« no previous file with comments | « third_party/sqlite/src/src/test_vfs.c ('k') | third_party/sqlite/src/src/test_windirent.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698