mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-16 02:59:10 +00:00
(svn r17923) -Feature: "port" OpenTTD to GNU/Hurd
This commit is contained in:
@@ -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 {
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user