1 #ifndef MYSQLD_SUFFIX_INCLUDED 2 #define MYSQLD_SUFFIX_INCLUDED 3 4 /* Copyright (c) 2000, 2021, Oracle and/or its affiliates. 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, version 2.0, 9 as published by the Free Software Foundation. 10 11 This program is also distributed with certain software (including 12 but not limited to OpenSSL) that is licensed under separate terms, 13 as designated in a particular file or component or in included license 14 documentation. The authors of MySQL hereby grant you an additional 15 permission to link the program and your derivative works with the 16 separately licensed software that they have included with MySQL. 17 18 This program is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 GNU General Public License, version 2.0, for more details. 22 23 You should have received a copy of the GNU General Public License 24 along with this program; if not, write to the Free Software Foundation, 25 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */ 26 27 /** 28 @file 29 30 Set MYSQL_SERVER_SUFFIX_STR. 31 32 The following code is quite ugly as there is no portable way to easily set a 33 string to the value of a macro 34 */ 35 36 #ifdef MYSQL_SERVER_SUFFIX 37 #define MYSQL_SERVER_SUFFIX_STR STRINGIFY_ARG(MYSQL_SERVER_SUFFIX) 38 #else 39 #define MYSQL_SERVER_SUFFIX_STR MYSQL_SERVER_SUFFIX_DEF 40 #endif 41 #endif /* MYSQLD_SUFFIX_INCLUDED */ 42