diff --git a/include/ModemManager-compat.h b/include/ModemManager-compat.h index 540f0512..e1458400 100644 --- a/include/ModemManager-compat.h +++ b/include/ModemManager-compat.h @@ -22,8 +22,6 @@ #include -#ifndef MM_DISABLE_DEPRECATED - /** * SECTION:mm-compat * @title: API break replacements @@ -41,6 +39,8 @@ # define MM_DEPRECATED #endif +#ifndef MM_DISABLE_DEPRECATED + /* The following type exists just so that we can get deprecation warnings */ MM_DEPRECATED typedef int MMModemBandDeprecated;