fix build on MacOS

This commit is contained in:
Manuel Domke
2018-10-04 10:19:27 +02:00
parent 3c2d24d541
commit 9af2987760

View File

@@ -20,7 +20,6 @@
#include <getopt.h>
#include "infnoise.h"
#include "libinfnoise.h"
#include "KeccakF-1600-interface.h"
static void initOpts(struct opt_struct *opts) {
opts->outputMultiplier = 0u;
@@ -250,7 +249,7 @@ int main(int argc, char **argv) {
close(devRandomFD);
#endif
#if defined(__APPLE__)
message = "dev/random not supported on macOS";
context.message = "dev/random not supported on macOS";
fprintf(stderr, "Error: %s\n", context.message);
return 1;
#endif