https://github.com/JuliaLang/julia
Raw File
Tip revision: d0e039392e734a569721b3280c32b2eafc7aad57 authored by Steven G. Johnson on 31 January 2020, 17:34:08 UTC
:ᵀ no longer parses
Tip revision: d0e0393
dirpath.h
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef JL_DIRPATH_H
#define JL_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
back to top