Skip to content

Commit

Permalink
If undefined, define MAXPATHLEN
Browse files Browse the repository at this point in the history
Useful for enabling build on the hurd 368 architecture.
#904
  • Loading branch information
teusbenschop committed Aug 5, 2023
1 parent aeaa210 commit 4d7b7e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions executable/bibledit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include <config/globals.h>
using namespace std;

// Fix for architecture hurd-i386 that does not define MAXPATHLEN.
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif


// Declarations.
void sigint_handler ([[maybe_unused]] int s);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<key>server.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
<key>server2.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
Expand Down

0 comments on commit 4d7b7e0

Please sign in to comment.