diff options
Diffstat (limited to 'Build/source/utils/asymptote/lspserv.cc')
-rw-r--r-- | Build/source/utils/asymptote/lspserv.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/lspserv.cc b/Build/source/utils/asymptote/lspserv.cc index f4c2c3d7ff2..f544261d47f 100644 --- a/Build/source/utils/asymptote/lspserv.cc +++ b/Build/source/utils/asymptote/lspserv.cc @@ -87,6 +87,9 @@ std::string wslUnix2Dos(std::string const& unixPath) bool isMntPath=false; char drive; +#ifdef __GNU__ +#define PATH_MAX 4096 +#endif char actPath[PATH_MAX]; (void) realpath(unixPath.c_str(), actPath); std::string fullPath(actPath); @@ -301,7 +304,7 @@ std::string wslUnix2Dos(std::string const& unixPath) void AsymptoteLspServer::onInitialized(Notify_InitializedNotification::notify& notify) { - logInfo("server initalized notification"); + logInfo("server initialized notification"); } void AsymptoteLspServer::onExit(Notify_Exit::notify& notify) |