[gnome-software: 1/2] packagekit: Change #if to #ifdef to avoid a -Wundef warning
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] packagekit: Change #if to #ifdef to avoid a -Wundef warning
- Date: Tue, 1 Jun 2021 09:15:19 +0000 (UTC)
commit 2767d7e8eeeed784ab38bdcf79e212e6c0c03e15
Author: Philip Withnall <pwithnall endlessos org>
Date: Fri May 28 11:48:08 2021 +0100
packagekit: Change #if to #ifdef to avoid a -Wundef warning
Signed-off-by: Philip Withnall <pwithnall endlessos org>
plugins/packagekit/packagekit-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/packagekit/packagekit-common.c b/plugins/packagekit/packagekit-common.c
index bca5bc31c..c644ff993 100644
--- a/plugins/packagekit/packagekit-common.c
+++ b/plugins/packagekit/packagekit-common.c
@@ -484,7 +484,7 @@ gs_plugin_packagekit_refine_details_app (GsPlugin *plugin,
* repository, on the order of 400 or 700 apps */
source_ids = gs_app_get_source_ids (app);
for (j = 0; j < source_ids->len; j++) {
- #if HAVE_PK_DETAILS_GET_DOWNLOAD_SIZE
+ #ifdef HAVE_PK_DETAILS_GET_DOWNLOAD_SIZE
guint64 download_sz;
#endif
package_id = g_ptr_array_index (source_ids, j);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]