Enlightenment CVS committal

Author  : mej
Project : eterm
Module  : libast

Dir     : eterm/libast/include


Modified Files:
        libast.h 


Log Message:
Tue Jun  7 16:28:43 2005                        Michael Jennings (mej)

Force STRICT_ISO_C99 to be defined when using gcc >= 4.0.  Suggestions
and partial patch from John Ellson <[EMAIL PROTECTED]>.
----------------------------------------------------------------------

===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/include/libast.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- libast.h    15 Dec 2004 00:00:19 -0000      1.58
+++ libast.h    7 Jun 2005 20:32:37 -0000       1.59
@@ -30,8 +30,8 @@
  * including all required system headers and LibAST Object headers.
  *
  * @author Michael Jennings <[EMAIL PROTECTED]>
- * @version $Revision: 1.58 $
- * @date $Date: 2004/12/15 00:00:19 $
+ * @version $Revision: 1.59 $
+ * @date $Date: 2005/06/07 20:32:37 $
  */
 
 #ifndef _LIBAST_H_
@@ -80,9 +80,14 @@
 # endif
 #endif
 
-#ifndef __GNUC__
+#ifdef __GNUC__
+#  if __GNUC__ >= 4
+#    define STRICT_ISO_C99
+#  endif
+#else
 #  define __attribute__(x)
 #  define __extension__(x)
+#  define __volatile__(x)
 #endif
 
 #if LIBAST_REGEXP_SUPPORT_PCRE




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to