Remove uses of deprecated macros
[src/app-framework-binder.git] / src / afb-supervision.c
index 79a9d3f..84c302f 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+#if defined(WITH_SUPERVISION)
+
 #define _GNU_SOURCE
-#define AFB_BINDING_PRAGMA_NO_VERBOSE_MACRO
 
 #include <string.h>
 #include <errno.h>
@@ -395,3 +397,4 @@ static void on_supervision_call(void *closure, struct afb_xreq *xreq)
        }
 }
 
+#endif