opkg: Fix #ifdef
[oweals/opkg-lede.git] / opkg_download.c
index e8bfce075946fcfd3de4ddca04caab5ab43aaa1f..c0a66fe3229555f083ce4365da863eee1b650995 100644 (file)
@@ -43,7 +43,7 @@ curl_progress_func (void* data,
     int i;
     int p = d*100/t;
 
-#ifdef LIBOPKG
+#ifdef OPKG_LIB
     if (opkg_cb_download_progress)
     {
        opkg_cb_download_progress (p);