]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
gcc fix
authorspog <spog>
Mon, 29 May 2006 16:23:39 +0000 (16:23 +0000)
committerspog <spog>
Mon, 29 May 2006 16:23:39 +0000 (16:23 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@74 8a3a26a2-13c4-0310-b231-cf6edde360e5

libs/bytestreamutils.h
libs/math/vector.h

index c340d5443d0303595853f5bf12956a37085a9ff6..aad7d7e42d06d1da833b044d4f232ebff78a1f3b 100644 (file)
@@ -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(INCLUDED_BYTESTREAMUTILS_H)
 #define INCLUDED_BYTESTREAMUTILS_H
 
-#if defined(__GCC__)
+#if defined(__GNUC__)
 
 #define        _ISOC9X_SOURCE  1
 #define _ISOC99_SOURCE 1
 
 #define        _ISOC9X_SOURCE  1
 #define _ISOC99_SOURCE 1
index 777d9d3815526a730817ac88ea9f641125965650..19fdd755925c48f470be85f983ed62672965dfb4 100644 (file)
@@ -49,7 +49,7 @@ inline int lrint(double f)
   return static_cast<int>(f + 0.5);
 }
 
   return static_cast<int>(f + 0.5);
 }
 
-#elif defined(__GCC__)
+#elif defined(__GNUC__)
 
  // lrint is part of ISO C99
 #define        _ISOC9X_SOURCE  1
 
  // lrint is part of ISO C99
 #define        _ISOC9X_SOURCE  1