mirror of
https://github.com/yse/easy_profiler.git
synced 2025-01-14 00:27:55 +08:00
#0 Windows build
This commit is contained in:
parent
bdb9e546b3
commit
e0190fe7a3
@ -61,7 +61,6 @@
|
|||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <easy/profiler.h>
|
#include <easy/profiler.h>
|
||||||
#include <easy/easy_socket.h>
|
|
||||||
#include "profile_manager.h"
|
#include "profile_manager.h"
|
||||||
#include "current_time.h"
|
#include "current_time.h"
|
||||||
|
|
||||||
|
@ -57,7 +57,10 @@
|
|||||||
#include <easy/arbitrary_value.h>
|
#include <easy/arbitrary_value.h>
|
||||||
#include <easy/serialized_block.h>
|
#include <easy/serialized_block.h>
|
||||||
#include <easy/easy_net.h>
|
#include <easy/easy_net.h>
|
||||||
#include <easy/easy_socket.h>
|
|
||||||
|
#ifndef _WIN32
|
||||||
|
# include <easy/easy_socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "event_trace_win.h"
|
#include "event_trace_win.h"
|
||||||
#include "current_time.h"
|
#include "current_time.h"
|
||||||
|
@ -45,6 +45,12 @@ The Apache License, Version 2.0 (the "License");
|
|||||||
|
|
||||||
#include <easy/details/profiler_public_types.h>
|
#include <easy/details/profiler_public_types.h>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
// Do not move this include to other place!
|
||||||
|
// It should be included before Windows.h which is included in spin_lock.h
|
||||||
|
# include <easy/easy_socket.h>
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
#include "spin_lock.h"
|
#include "spin_lock.h"
|
||||||
#include "outstream.h"
|
#include "outstream.h"
|
||||||
#include "hashed_cstr.h"
|
#include "hashed_cstr.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user