zycast: disable build on non-Linux OS
authorTomasz Maciej Nowak <tmn505@gmail.com>
Mon, 12 Feb 2024 16:18:33 +0000 (17:18 +0100)
committerSander Vanheule <sander@svanheule.net>
Wed, 14 Feb 2024 12:07:03 +0000 (13:07 +0100)
commit17de36575f1edf4287c1d92c7d7eb45c8ceca29e
treed5d1d942a29475f4029db87bdb425e2ded8f3913
parenta5dfb5fb5e6ec5e6481faa164b73ead653811800
zycast: disable build on non-Linux OS

Fails with following errors on MacOS builder:

firmware-utils/src/zycast.c:205:35: error: use of undeclared identifier 'MSG_MORE'
                if (send(sockfd, phdr, HDRSIZE, MSG_MORE | MSG_DONTROUTE) < 0)
                                                ^
firmware-utils/src/zycast.c:285:39: error: use of undeclared identifier 'SO_BINDTODEVICE'
                        if (setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE,  optarg, strlen(optarg)) < 0)
                                                           ^

These seem to be Linux only definitions and there are no equivalents, so
leave rewrite of zycast to someone interested in running it on other OS.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
CMakeLists.txt