From 473f23eaf3e815c85720ab8be99139ae2488965c Mon Sep 17 00:00:00 2001 From: spog Date: Mon, 29 May 2006 16:23:39 +0000 Subject: [PATCH] gcc fix git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@74 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- libs/bytestreamutils.h | 2 +- libs/math/vector.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/bytestreamutils.h b/libs/bytestreamutils.h index c340d544..aad7d7e4 100644 --- a/libs/bytestreamutils.h +++ b/libs/bytestreamutils.h @@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if !defined(INCLUDED_BYTESTREAMUTILS_H) #define INCLUDED_BYTESTREAMUTILS_H -#if defined(__GCC__) +#if defined(__GNUC__) #define _ISOC9X_SOURCE 1 #define _ISOC99_SOURCE 1 diff --git a/libs/math/vector.h b/libs/math/vector.h index 777d9d38..19fdd755 100644 --- a/libs/math/vector.h +++ b/libs/math/vector.h @@ -49,7 +49,7 @@ inline int lrint(double f) return static_cast(f + 0.5); } -#elif defined(__GCC__) +#elif defined(__GNUC__) // lrint is part of ISO C99 #define _ISOC9X_SOURCE 1 -- 2.39.2