From b3e24510c09f9aab085a421de90564f5e53f876d Mon Sep 17 00:00:00 2001
From: Przemyslaw Olejniczak
Date: Thu, 24 Aug 2023 21:29:32 +0200
Subject: [PATCH] #507 connection_name property is not set on windows platform
---
src/programname.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/programname.h b/src/programname.h
index 5cb97aaa..dde177fe 100644
--- a/src/programname.h
+++ b/src/programname.h
@@ -18,6 +18,7 @@
#include
#if defined(_WIN32) || defined(_WIN64)
#include "Windows.h"
+#define PATH_MAX MAX_PATH
#else
#include
#endif