Fix missing #ifdefs

This commit is contained in:
scribblemaniac 2022-03-14 19:39:18 -06:00
parent 1e18c10a11
commit 51d76913f1
No known key found for this signature in database
GPG key ID: 7C7B792A6AD57A97

4
main.c
View file

@ -480,10 +480,12 @@ int main(int argc,char **argv)
exit(1);
}
#ifdef PASSPHRASE
if (checkpointfile && !deterministic) {
fprintf(stderr,"--checkpoint requires passphrase\n");
exit(1);
}
#endif
if (outfile) {
fout = fopen(outfile,!outfileoverwrite ? "a" : "w");
@ -661,7 +663,7 @@ int main(int argc,char **argv)
perror("pthread_attr_destroy");
}
#if PASSPHRASE
#ifdef PASSPHRASE
pthread_t checkpoint_thread;
if (checkpointfile) {