Skip to content
Snippets Groups Projects
Commit 1608a8ce authored by Guido Günther's avatar Guido Günther
Browse files

Drop patch Make-macros-work-as-rvalues.patch

fixed upstream
parent 696c1213
No related branches found
No related tags found
No related merge requests found
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 31 Mar 2011 22:13:54 +0200
Subject: Make macros work as rvalues
fixes kFreeBSD build
---
src/node_device/node_device_driver.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/node_device/node_device_driver.h b/src/node_device/node_device_driver.h
index 4721be4..e583c2b 100644
--- a/src/node_device/node_device_driver.h
+++ b/src/node_device/node_device_driver.h
@@ -78,8 +78,8 @@ int read_wwn_linux(int host, const char *file, char **wwn);
# else /* __linux__ */
-# define check_fc_host(d)
-# define check_vport_capable(d)
+# define check_fc_host(d) (-1)
+# define check_vport_capable(d) (-1)
# define get_physical_function(sysfs_path, d)
# define get_virtual_functions(sysfs_path, d)
# define read_wwn(host, file, wwn)
--
......@@ -6,4 +6,3 @@ Autodetect-if-the-remote-nc-command-supports-the-q-o.patch
patch-qemuMonitorTextGetMigrationStatus-to-intercept.patch
Disable-CHECKSUM-rule.patch
Debianize-libvirt-guests.patch
Make-macros-work-as-rvalues.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment