From ba623158fe7eeaf8ad2bc90483d3d1f33aa403e8 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 18 Feb 2021 17:24:05 +0000 Subject: [PATCH] Fix warning about redefinition of _GNU_SOURCE G++ implicitly defines _GNU_SOURCE=1 so define it consistently to avoid a warning about redefinition. --- src/scsi2sd-util6/libzipper-1.0.4/port/strerror_gnu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scsi2sd-util6/libzipper-1.0.4/port/strerror_gnu.cc b/src/scsi2sd-util6/libzipper-1.0.4/port/strerror_gnu.cc index d41eddb2..036ad52f 100644 --- a/src/scsi2sd-util6/libzipper-1.0.4/port/strerror_gnu.cc +++ b/src/scsi2sd-util6/libzipper-1.0.4/port/strerror_gnu.cc @@ -15,7 +15,7 @@ // You should have received a copy of the GNU General Public License // along with libzipper. If not, see . -#define _GNU_SOURCE +#define _GNU_SOURCE 1 #include "../strerror.hh" -- 2.38.5