about summary refs log tree commit diff stats
path: root/ignore.h
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2022-11-19 11:11:26 +0000
committerRory Bradford <roryrjb@gmail.com>2022-11-19 11:18:40 +0000
commit0f92f7352d1964a9859868439e8ded2c4de2111e (patch)
tree14c690402fa28c3b465ec00d2fe767054a1a3331 /ignore.h
parentfbb7c479de91b197c6c501c2023bf564a6a7610f (diff)
downloadrf-0f92f7352d1964a9859868439e8ded2c4de2111e.tar.gz
Full native win32 support
This will now compile with MSVC using the make.bat batch file. It does
however bring in some additional third party dependencies: ports of
dirent and getopt (something I'd ideally like to work on in the future).

Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to 'ignore.h')
-rw-r--r--ignore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ignore.h b/ignore.h
index 1bc3add..3fcc445 100644
--- a/ignore.h
+++ b/ignore.h
@@ -3,6 +3,10 @@
 
 #define IGNORE_SIZE 100
 
+#ifdef _WIN32
+#define MAXPATHLEN 1024
+#endif
+
 struct ignores {
 	char **list;
 	int size;