mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Fix build on linux, enable build directory support
Specifically: - Include stddef.h for missing ptrdiff_t - Define PCAP_OPENFLAG_PROMISCUOUS if not using WinPcap because it seems to be a WinPcap extension - Make use of CMAKE_CURRENT_{SOURCE,BINARY}_DIR to enable building under a directory other than root of the project
This commit is contained in:
@ -23,6 +23,9 @@
|
||||
#include "WifiAP.h"
|
||||
#include "Platform.h"
|
||||
|
||||
#ifndef __WIN32__
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
namespace WifiAP
|
||||
{
|
||||
|
Reference in New Issue
Block a user