Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Jan 5, 2024
1 parent d49779e commit ae71d67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions userspace/libscap/win32/gettimeofday.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.

#pragma once

#define NOMINMAX
#include <Windows.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions userspace/libscap/win32/sleep.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.

#pragma once

#define NOMINMAX
#include <Windows.h>

static inline void sleep_ms(int ms)
Expand Down
1 change: 1 addition & 0 deletions userspace/libsinsp/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,7 @@ time_t get_epoch_utc_seconds_now()
#ifdef _WIN32

#include <time.h>
#define NOMINMAX
#include <windows.h>

const __int64 DELTA_EPOCH_IN_MICROSECS = 11644473600000000;
Expand Down
1 change: 1 addition & 0 deletions userspace/plugin/plugin_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
*/

#ifdef _WIN32
#define NOMINMAX
#include <windows.h>
typedef HINSTANCE library_handle_t;
#else
Expand Down

0 comments on commit ae71d67

Please sign in to comment.