hurd-pathmax
=================================================================== Gbp-Pq: Topic hurd Gbp-Pq: Name hurd-pathmax.diff
This commit is contained in:
parent
5149035362
commit
63109ea12d
|
@ -526,6 +526,12 @@ FileManager::getNoncachedStatValue(StringRef Path,
|
|||
return std::error_code();
|
||||
}
|
||||
|
||||
// For GNU Hurd
|
||||
#if defined(__GNU__) && !defined(PATH_MAX)
|
||||
# define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
|
||||
void FileManager::GetUniqueIDMapping(
|
||||
SmallVectorImpl<const FileEntry *> &UIDToFiles) const {
|
||||
UIDToFiles.clear();
|
||||
|
|
|
@ -27,6 +27,11 @@
|
|||
#define INT32_MAX 2147483647
|
||||
#endif
|
||||
|
||||
// For GNU Hurd
|
||||
#if defined(__GNU__) && !defined(PATH_MAX)
|
||||
# define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
#if !defined(UINT32_MAX)
|
||||
#define UINT32_MAX 4294967295U
|
||||
#endif
|
||||
|
|
|
@ -15,6 +15,11 @@
|
|||
#include "cuda_common.h"
|
||||
#include "ppcg.h"
|
||||
|
||||
// For GNU Hurd
|
||||
#if defined(__GNU__) && !defined(PATH_MAX)
|
||||
# define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
/* Open the host .cu file and the kernel .hu and .cu files for writing.
|
||||
* Add the necessary includes.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue