1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Use system getopt in capture utility on unix.

This fixes header clash between getopt.h and unistd.h (required for unlink),
which prevented LTO on macos.
This commit is contained in:
Bartosz Taudul
2021-01-27 00:32:38 +01:00
parent e3ae2c077f
commit 9892407ff0
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -19,7 +19,10 @@
#include "../../server/TracyPrint.hpp"
#include "../../server/TracyStackFrames.hpp"
#include "../../server/TracyWorker.hpp"
#include "../../getopt/getopt.h"
#ifdef _WIN32
# include "../../getopt/getopt.h"
#endif
bool disconnect = false;