GramThanos / WakeOnLAN

A simple C program that sends a magic packet
MIT License
100 stars 35 forks source link

Add macOS support #3

Closed n8ta closed 3 years ago

n8ta commented 3 years ago

Hi I added macOS support. It's basically the same as linux with just a few different headers. As such I didn't add a separate #ifdef but combined linux and macOS.

This was tested on a 2015 macbook pro and raspberry pi 4 (raspbian). Assuming I didn't break windows but I have no way to confirm.

Let me know if you want to see any changes before merging this.

Thanks for your work on this! -Nate

GramThanos commented 3 years ago

Thank for the contribution mate!