[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6525] Fix clang build: don't redefine _ISOC99_SOURCE (VZ)
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6525] Fix clang build: don't redefine _ISOC99_SOURCE (VZ) |
Date: |
Fri, 25 Mar 2016 12:23:34 +0000 |
Revision: 6525
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6525
Author: chicares
Date: 2016-03-25 12:23:34 +0000 (Fri, 25 Mar 2016)
Log Message:
-----------
Fix clang build: don't redefine _ISOC99_SOURCE (VZ)
Modified Paths:
--------------
lmi/trunk/config.hpp
Modified: lmi/trunk/config.hpp
===================================================================
--- lmi/trunk/config.hpp 2016-03-25 12:22:36 UTC (rev 6524)
+++ lmi/trunk/config.hpp 2016-03-25 12:23:34 UTC (rev 6525)
@@ -72,7 +72,9 @@
#if defined __GNUC__
// This selects a correct snprintf() for MinGW-w64.
-# define _ISOC99_SOURCE
+# if !defined _ISOC99_SOURCE
+# define _ISOC99_SOURCE
+# endif // !defined _ISOC99_SOURCE
#endif // defined __GNUC__
// 'platform_dependent.hpp' includes standard headers in an unusual
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6525] Fix clang build: don't redefine _ISOC99_SOURCE (VZ),
Greg Chicares <=