Skip to content

Commit ee65bb0

Browse files
committed
Fix Linux build.
1 parent b719fb7 commit ee65bb0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Common/Cpp/MemoryUtilization/MemoryUtilization.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@
1818
#elif __linux
1919
#include "MemoryUtilization_Linux.tpp"
2020

21+
#else
22+
2123
namespace PokemonAutomation{
2224
MemoryUsage process_memory_usage(){
25+
return MemoryUsage{};
2326
}
2427
}
28+
2529
#endif
2630

2731

Common/Cpp/MemoryUtilization/MemoryUtilization_Linux.tpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#ifndef PokemonAutomation_MemoryUtilization_Linux_TPP
88
#define PokemonAutomation_MemoryUtilization_Linux_TPP
99

10+
#include <stdint.h>
1011
#include <utility>
1112
#include <string>
1213
#include <fstream>

0 commit comments

Comments
 (0)