| 1 | #ifndef MYSQLD_SUFFIX_INCLUDED |
| 2 | #define MYSQLD_SUFFIX_INCLUDED |
| 3 | |
| 4 | /* Copyright (c) 2000-2004, 2006, 2007 MySQL AB, 2009 Sun Microsystems, Inc. |
| 5 | Use is subject to license terms. |
| 6 | |
| 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; version 2 of the License. |
| 10 | |
| 11 | This program is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program; if not, write to the Free Software |
| 18 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ |
| 19 | |
| 20 | /** |
| 21 | @file |
| 22 | |
| 23 | Set MYSQL_SERVER_SUFFIX_STR. |
| 24 | |
| 25 | The following code is quite ugly as there is no portable way to easily set a |
| 26 | string to the value of a macro |
| 27 | */ |
| 28 | |
| 29 | #ifdef MYSQL_SERVER_SUFFIX |
| 30 | #define MYSQL_SERVER_SUFFIX_STR STRINGIFY_ARG(MYSQL_SERVER_SUFFIX) |
| 31 | #else |
| 32 | #define MYSQL_SERVER_SUFFIX_STR MYSQL_SERVER_SUFFIX_DEF |
| 33 | #endif |
| 34 | #endif /* MYSQLD_SUFFIX_INCLUDED */ |
| 35 | |