fix incorrect folder name for julia-0.6.x
Former-commit-id: ef2c7401e0876f22d2f7762d182cfbcd5a7d9c70
This commit is contained in:
20
julia-0.6.3/include/julia/dirpath.h
Normal file
20
julia-0.6.3/include/julia/dirpath.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// This file is a part of Julia. License is MIT: https://julialang.org/license
|
||||
|
||||
#ifndef DIRPATH_H
|
||||
#define DIRPATH_H
|
||||
|
||||
#ifdef _OS_WINDOWS_
|
||||
#define PATHSEPSTRING "\\"
|
||||
#define PATHLISTSEPSTRING ";"
|
||||
#if defined(_MSC_VER) || defined(_COMPILER_CLANG_)
|
||||
#define PATH_MAX MAX_PATH
|
||||
#endif
|
||||
#else
|
||||
#define PATHSEPSTRING "/"
|
||||
#define PATHLISTSEPSTRING ":"
|
||||
#ifndef PATH_MAX // many platforms don't have a max path, we define one anyways
|
||||
#define PATH_MAX 1024
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user