mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r17923) -Feature: "port" OpenTTD to GNU/Hurd
This commit is contained in:
parent
86fd0c0bce
commit
c2c0d1e5d4
@ -1901,6 +1901,7 @@ detect_os() {
|
|||||||
/cygwin/ { print "CYGWIN"; exit}
|
/cygwin/ { print "CYGWIN"; exit}
|
||||||
/mingw/ { print "MINGW"; exit}
|
/mingw/ { print "MINGW"; exit}
|
||||||
/os\/2/ { print "OS2"; exit}
|
/os\/2/ { print "OS2"; exit}
|
||||||
|
/gnu/ { print "UNIX"; exit}
|
||||||
'`
|
'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -30,6 +30,10 @@
|
|||||||
#include <set>
|
#include <set>
|
||||||
#include <stack>
|
#include <stack>
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
# define PATH_MAX 260
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Simple string comparator using strcmp as implementation */
|
/** Simple string comparator using strcmp as implementation */
|
||||||
struct StringCompare {
|
struct StringCompare {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user