summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-05-30 12:38:36 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-05-30 12:38:36 -0300
commit0c3439c507ecee9e7a5b4a2b18a3250fe871bb18 (patch)
tree957cfa675fb0c714ccb46201bad4db30ead9f200 /include
parent14eb98dd8a15df223c3d215ca3248fe54d5dd577 (diff)
downloadmariadb-git-0c3439c507ecee9e7a5b4a2b18a3250fe871bb18.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 31bcb771c4d..5c07aa00b32 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -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