summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-01-27 09:43:55 -0500
committerChad MILLER <chad@mysql.com>2009-01-27 09:43:55 -0500
commit87cb3247565201631c65414a135d87484381c94c (patch)
treecd34aa02bdc0a48ccc05f259e0de0fad980656cb /include
parent8afe7c2fe6604355913e8ae27f91b7d5369193a8 (diff)
downloadmariadb-git-87cb3247565201631c65414a135d87484381c94c.tar.gz
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 8fb5a6b69da..feabb714004 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -621,7 +621,6 @@ C_MODE_END
*/
#define _VARARGS(X) X
#define _STATIC_VARARGS(X) X
-#define _PC(X) X
/* The DBUG_ON flag always takes precedence over default DBUG_OFF */
#if defined(DBUG_ON) && defined(DBUG_OFF)