Skip to content

Commit

Permalink
windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jan 31, 2024
1 parent 27323ed commit cc109b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/networking/VRPing.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "VRPing.h"
#include "core/utils/toString.h"
#ifndef _WIN32
#include "VRARP.h"
#endif

#include <boost/asio.hpp>
#include <iostream>
Expand Down Expand Up @@ -107,7 +109,11 @@ FILE *popen(const char *command, const char *type) { return 0; }
#endif

std::string OSG::VRPing::getMAC(std::string IP, std::string interface) {
#ifndef _WIN32
return ::getMAC(IP, interface);
#else
return "";
#endif
}


0 comments on commit cc109b9

Please sign in to comment.