Skip to content

Commit

Permalink
Merge pull request #5 from dai-vdr/workaround_building_gnu_hurd
Browse files Browse the repository at this point in the history
set MAXPATHLEN as 1024
  • Loading branch information
kou authored Aug 22, 2020
2 parents 5da3b69 + e4149cc commit 36fad84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
#define FEATURE_ID_SIOD "siod"
#endif

#if !defined(MAXPATHLEN)
#define MAXPATHLEN 1024 /* GNU Hurd doesn't have MAXPATHLEN */
#endif

/*=======================================
File Local Type Definitions
=======================================*/
Expand Down

0 comments on commit 36fad84

Please sign in to comment.