summaryrefslogtreecommitdiff
path: root/include/my_global.h
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
commit0d2fecc9779c71bb9b2e214efad369a6f07f69c6 (patch)
treecd34aa02bdc0a48ccc05f259e0de0fad980656cb /include/my_global.h
parentda8df39c14581f32f9004430336999011c96b33c (diff)
downloadmariadb-git-0d2fecc9779c71bb9b2e214efad369a6f07f69c6.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/my_global.h')
-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)