[svn:parrot] r41175 - trunk/include/parrot

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Sep 9 22:26:43 UTC 2009


Author: bacek
Date: Wed Sep  9 22:26:43 2009
New Revision: 41175
URL: https://trac.parrot.org/parrot/changeset/41175

Log:
[cage] Fix compilation without clang and with g++.

Modified:
   trunk/include/parrot/compiler.h

Modified: trunk/include/parrot/compiler.h
==============================================================================
--- trunk/include/parrot/compiler.h	Wed Sep  9 22:26:22 2009	(r41174)
+++ trunk/include/parrot/compiler.h	Wed Sep  9 22:26:43 2009	(r41175)
@@ -40,7 +40,7 @@
 #  ifdef _MSC_VER
 #    define __attribute__noreturn__         __declspec(noreturn)
 #  else
-#    if __clang__
+#    ifdef __clang__
 #      define __attribute__noreturn__         __attribute__((analyzer_noreturn))
 #    else
 #      define __attribute__noreturn__         __attribute__((__noreturn__))


More information about the parrot-commits mailing list