List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:May 30 2009 3:38pm
Subject:bzr commit into mysql-5.0-bugteam branch (davi:2759) Bug#34309
View as plain text  
# At a local mysql-5.0-bugteam repository of davi

 2759 Davi Arnaut	2009-05-30
      MySQL 5.0 backport of Chad Miller's patch for Bug#34309:
      
      Bug#34309: '_PC' macro redefinition
      
      For reasons that are now a mystery, we had defined a CPP symbol to
      help ancient compilers work better (in some way that's lost to history).
      This interferes with at least one modern compiler.
      
      Now, don't define the _PC symbol.  Those other underscore-leading
      symbols are suspect also, but at least the names aren't inscrutable.
      Let's leave them for now.

    modified:
      include/my_global.h
=== modified file 'include/my_global.h'
--- a/include/my_global.h	2009-05-05 18:41:58 +0000
+++ b/include/my_global.h	2009-05-30 15:38:36 +0000
@@ -527,7 +527,6 @@ C_MODE_END
 */
 #define _VARARGS(X) X
 #define _STATIC_VARARGS(X) X
-#define _PC(X)	X
 
 #if defined(DBUG_ON) && defined(DBUG_OFF)
 #undef DBUG_OFF


Attachment: [text/bzr-bundle] bzr/davi.arnaut@sun.com-20090530153836-p032bkbni1jikvlm.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (davi:2759) Bug#34309Davi Arnaut30 May