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
|
||||
{
|
||||
case Releases::LTS:
|
||||
#ifdef DISABLE_LONGTERM_BUILD
|
||||
msg_dialog.Init("The longterm build is diasbled!");
|
||||
msg_dialog.present();
|
||||
#else
|
||||
longterm(local, config_longterm.c_str(), str);
|
||||
msg_dialog.Init(str);
|
||||
msg_dialog.present();
|
||||
#endif
|
||||
break;
|
||||
case Releases::Stable:
|
||||
#ifdef DISABLE_STABLE_BUILD
|
||||
msg_dialog.Init("The stable build is diasbled!");
|
||||
msg_dialog.present();
|
||||
#else
|
||||
stable(local, config_stable.c_str(), str);
|
||||
msg_dialog.Init(str);
|
||||
msg_dialog.present();
|
||||
#endif
|
||||
break;
|
||||
case Releases::Dev:
|
||||
#ifdef DISABLE_DEVELOP_BUILD
|
||||
msg_dialog.Init("The development build is diasbled!");
|
||||
msg_dialog.present();
|
||||
#else
|
||||
develop(local, config_devel.c_str(), str);
|
||||
msg_dialog.Init(str);
|
||||
msg_dialog.present();
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue