[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/utils/abakus/src
From:       Michael Pyne <michael.pyne () kdemail ! net>
Date:       2005-10-20 1:27:27
Message-ID: 1129771647.599027.15106.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 472161 by mpyne:

Final merge from Ariya's fixes.  This appears to avoid conflicting with global reserved
include definition.


 M  +2 -2      number.c  
 M  +3 -3      number.h  


--- trunk/playground/utils/abakus/src/number.c #472160:472161
@@ -1442,7 +1442,7 @@
 bc_out_long (val, size, space, out_char)
      long val;
      int size, space;
-#ifdef __STDC__
+#ifdef NUMBER__STDC__
      void (*out_char)(int);
 #else
      void (*out_char)();
@@ -1470,7 +1470,7 @@
 bc_out_num (num, o_base, out_char, leading_zero)
      bc_num num;
      int o_base;
-#ifdef __STDC__
+#ifdef NUMBER__STDC__
      void (*out_char)(int);
 #else
      void (*out_char)();
--- trunk/playground/utils/abakus/src/number.h #472160:472161
@@ -38,8 +38,8 @@
 
 #undef _PROTOTYPE
 
-#ifndef __STDC__
-#define __STDC__
+#ifndef NUMBER__STDC__
+#define NUMBER__STDC__
 #endif
 
 typedef enum {PLUS, MINUS} sign;
@@ -102,7 +102,7 @@
 /* Define the _PROTOTYPE macro if it is needed. */
 
 #ifndef _PROTOTYPE
-#ifdef __STDC__
+#ifdef NUMBER__STDC__
 #define _PROTOTYPE(func, args) func args
 #else
 #define _PROTOTYPE(func, args) func()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic