summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/lspserv.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-20 21:32:08 +0000
committerKarl Berry <karl@freefriends.org>2022-01-20 21:32:08 +0000
commit5597c98c7297769c02e0b212e2f0c69ef97d80be (patch)
treefacfbc28006eba69967cfebf968d42a1b9b4593c /Build/source/utils/asymptote/lspserv.cc
parent598ee1b5f5190f337b64668ad53327e9643fc06c (diff)
asy 2.76 sources
git-svn-id: svn://tug.org/texlive/trunk@61672 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/lspserv.cc')
-rw-r--r--Build/source/utils/asymptote/lspserv.cc5
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)