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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user