]> git.sur5r.net Git - cc65/commitdiff
Add symbol to disable inlining of functions
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 20 Nov 2005 22:03:29 +0000 (22:03 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 20 Nov 2005 22:03:29 +0000 (22:03 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3662 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/inline.h

index 7220e7f9e0c1e9a74776aeafe3acab0eb3cfdf0c..5c6dedb43a8ca288f3b9fdf4b6d6a3f2b2868559 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2001      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 2001-2005  Ullrich von Bassewitz                                      */
+/*                Römerstraße 52                                             */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -44,7 +44,7 @@
 
 
 
-#if defined(__GNUC__)
+#if defined(__GNUC__) && !defined(DISABLE_INLINE)
 #  define HAVE_INLINE  1
 #  define INLINE       static __inline__
 #endif