Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions main.cc
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@

#include <climits> // for PATH_MAX
#include <drogon/drogon.h>
#include <libgen.h> // for dirname()
#include <unistd.h> // for readlink()

#if defined(__APPLE__) && defined(__MACH__)
#include <mach-o/dyld.h>
#include <libgen.h> // for dirname()
#elif defined(__linux__)
#include <libgen.h> // for dirname()
#include <unistd.h> // for readlink()
#else
#error "Unsupported platform!"
#endif

int main() {
Expand Down