From e24be24183d053a322ca96d5d6f7dbc36100562c Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Tue, 3 Apr 2018 13:47:50 -0400 Subject: *: Only test CONFDATE when VERSION_TYPE_DEV defined Signed-off-by: Lou Berger --- lib/workqueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/workqueue.h') diff --git a/lib/workqueue.h b/lib/workqueue.h index fe1700f8d..608582039 100644 --- a/lib/workqueue.h +++ b/lib/workqueue.h @@ -154,7 +154,7 @@ extern struct work_queue *work_queue_new(struct thread_master *, const char *); * The usage of work_queue_free is being transitioned to pass * in the double pointer to remove use after free's. */ -#if CONFDATE > 20190205 +#if defined(VERSION_TYPE_DEV) && CONFDATE > 20190205 CPP_NOTICE("work_queue_free without double pointer is deprecated, please fixup") #endif extern void work_queue_free_and_null(struct work_queue **); -- cgit v1.2.3