wireguard: fix portability issue
authorFelix Fietkau <nbd@nbd.name>
Sat, 11 Nov 2017 12:15:24 +0000 (13:15 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 11 Nov 2017 12:20:39 +0000 (13:20 +0100)
commit12f9305c12d0c6c274a61fc577a36be93a634de4
tree6ec73df2b42a11588e5203b79bb7f0505da60614
parentf7186599ce72bfcc6f6442c9f43fa65f76d68206
wireguard: fix portability issue

Check if the compiler defines __linux__, instead of assuming that the
host OS is the same as the target OS.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/wireguard/patches/100-portability.patch [new file with mode: 0644]