Skip to content

Commit 2c8d05e

Browse files
refactor: remove obsolete PATH_MAX macros and Apple header
1 parent 6da5e4d commit 2c8d05e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
#include <fnmatch.h>
2121
#include <sys/stat.h>
2222
#include <sys/ioctl.h>
23-
#ifdef __APPLE__
24-
#include <sys/syslimits.h> // `PATH_MAX` on macOS exists in this header
25-
#endif
2623

2724
#include "git_utils.h"
2825
#include "file_card.h"
@@ -34,7 +31,6 @@
3431
#include "dev_dir_utils.h"
3532
#include "git_integration.h"
3633

37-
#define MAX_PATH PATH_MAX // Maximum length for file paths
3834
#define INITIAL_ENTRIES 512 // Initial number of directory entries to allocate
3935

4036
/**

0 commit comments

Comments
 (0)