mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-01-24 09:57:39 -03:00
Fix missing #ifdefs
This commit is contained in:
parent
1e18c10a11
commit
51d76913f1
1 changed files with 3 additions and 1 deletions
4
main.c
4
main.c
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue