build-sys: rename LEGACY to NOLEGACY to better reflect meaning
https://bugs.freedesktop.org/show_bug.cgi?id=66542
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
409dee2e44
commit
286ca4852e
@@ -49,7 +49,7 @@ int main(int argc, char *argv[]) {
|
||||
* are called when the dbus service is shut down. */
|
||||
|
||||
if (!(bus = dbus_connection_open_private("unix:path=/run/systemd/private", &error))) {
|
||||
#ifndef LEGACY
|
||||
#ifndef NOLEGACY
|
||||
dbus_error_free(&error);
|
||||
|
||||
/* Retry with the pre v21 socket name, to ease upgrades */
|
||||
@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) {
|
||||
log_error("Failed to get D-Bus connection: %s", bus_error_message(&error));
|
||||
goto finish;
|
||||
}
|
||||
#ifndef LEGACY
|
||||
#ifndef NOLEGACY
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user