Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 97df4b9

Browse files
committed
try fix
1 parent fee822f commit 97df4b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <climits> // for PATH_MAX
33
#include <drogon/HttpAppFramework.h>
44
#include <drogon/drogon.h>
5+
#include <iostream>
56
#include <algorithm>
67

78
#if defined(__APPLE__) && defined(__MACH__)
@@ -12,6 +13,7 @@
1213
#include <unistd.h> // for readlink()
1314
#elif defined(_WIN32)
1415
#include <windows.h>
16+
#undef max
1517
#else
1618
#error "Unsupported platform!"
1719
#endif

0 commit comments

Comments
 (0)