瀏覽代碼

Fix warning about redefinition of _GNU_SOURCE

G++ implicitly defines _GNU_SOURCE=1 so define it consistently to avoid
a warning about redefinition.
Jonathan Wakely 4 年之前
父節點
當前提交
d563becbf6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/SCSI2SD/src/scsi2sd-util6/libzipper-1.0.4/port/strerror_gnu.cc

+ 1 - 1
lib/SCSI2SD/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
 //	You should have received a copy of the GNU General Public License
 //	along with libzipper.  If not, see <http://www.gnu.org/licenses/>.
 //	along with libzipper.  If not, see <http://www.gnu.org/licenses/>.
 
 
-#define _GNU_SOURCE
+#define _GNU_SOURCE 1
 
 
 #include "../strerror.hh"
 #include "../strerror.hh"