make sure __VERSION6__ is defined when it should be
This commit is contained in:
parent
96202a5984
commit
a08efafb7a
|
@ -257,7 +257,6 @@ DecodeArgs (int argc, char **argv)
|
||||||
options.code.debug = false;
|
options.code.debug = false;
|
||||||
} else if (!(strcasecmp (temp, "v6only"))) {
|
} else if (!(strcasecmp (temp, "v6only"))) {
|
||||||
options.code.progsversion = PROG_ID_VERSION;
|
options.code.progsversion = PROG_ID_VERSION;
|
||||||
add_cpp_def ("-D__VERSION6__=1");
|
|
||||||
} else if (!(strcasecmp (temp, "no-v6only"))) {
|
} else if (!(strcasecmp (temp, "no-v6only"))) {
|
||||||
options.code.progsversion = PROG_VERSION;
|
options.code.progsversion = PROG_VERSION;
|
||||||
}
|
}
|
||||||
|
@ -387,6 +386,8 @@ DecodeArgs (int argc, char **argv)
|
||||||
usage (1);
|
usage (1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (options.code.progsversion == PROG_ID_VERSION)
|
||||||
|
add_cpp_def ("-D__VERSION6__=1");
|
||||||
|
|
||||||
// add the default paths
|
// add the default paths
|
||||||
add_cpp_def (nva ("-I%s", QFCC_INCLUDE_PATH));
|
add_cpp_def (nva ("-I%s", QFCC_INCLUDE_PATH));
|
||||||
|
|
Loading…
Reference in New Issue