Remove macro definiations
This commit is contained in:
parent
bce328381c
commit
7f1206ddd4
|
@ -287,34 +287,25 @@ void MyWin::main_releases()
|
||||||
switch (version) // Use Selection to Perform
|
switch (version) // Use Selection to Perform
|
||||||
{
|
{
|
||||||
case Releases::LTS:
|
case Releases::LTS:
|
||||||
#ifdef DISABLE_LONGTERM_BUILD
|
|
||||||
msg_dialog.Init("The longterm build is diasbled!");
|
msg_dialog.Init("The longterm build is diasbled!");
|
||||||
msg_dialog.present();
|
msg_dialog.present();
|
||||||
#else
|
|
||||||
longterm(local, config_longterm.c_str(), str);
|
longterm(local, config_longterm.c_str(), str);
|
||||||
msg_dialog.Init(str);
|
msg_dialog.Init(str);
|
||||||
msg_dialog.present();
|
msg_dialog.present();
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
case Releases::Stable:
|
case Releases::Stable:
|
||||||
#ifdef DISABLE_STABLE_BUILD
|
|
||||||
msg_dialog.Init("The stable build is diasbled!");
|
msg_dialog.Init("The stable build is diasbled!");
|
||||||
msg_dialog.present();
|
msg_dialog.present();
|
||||||
#else
|
|
||||||
stable(local, config_stable.c_str(), str);
|
stable(local, config_stable.c_str(), str);
|
||||||
msg_dialog.Init(str);
|
msg_dialog.Init(str);
|
||||||
msg_dialog.present();
|
msg_dialog.present();
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
case Releases::Dev:
|
case Releases::Dev:
|
||||||
#ifdef DISABLE_DEVELOP_BUILD
|
|
||||||
msg_dialog.Init("The development build is diasbled!");
|
msg_dialog.Init("The development build is diasbled!");
|
||||||
msg_dialog.present();
|
msg_dialog.present();
|
||||||
#else
|
|
||||||
develop(local, config_devel.c_str(), str);
|
develop(local, config_devel.c_str(), str);
|
||||||
msg_dialog.Init(str);
|
msg_dialog.Init(str);
|
||||||
msg_dialog.present();
|
msg_dialog.present();
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue