mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Portability fixes
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name Docs/manual.texi: Changed TRUNCATE table_name -> TRUNCATE TABLE table_name client/mysql.cc: Don't crash when using -q with long fields include/my_net.h: Portability fix mysql-test/t/truncate.test: Changed TRUNCATE table_name -> TRUNCATE TABLE table_name readline/input.c: Portability fix scripts/make_binary_distribution.sh: Portability fix sql-bench/crash-me.sh: Portability fix sql/mini_client.cc: Portability fix sql/mysqld.cc: cleanup sql/share/dutch/errmsg.txt: Fixed typo sql/share/english/errmsg.txt: Fixed typo sql/share/greek/errmsg.txt: Fixed typo sql/share/hungarian/errmsg.txt: Fixed typo sql/share/italian/errmsg.txt: New translated messages sql/share/portuguese/errmsg.txt: Fixed typo sql/share/romanian/errmsg.txt: Fixed typo sql/share/slovak/errmsg.txt: Fixed typo sql/share/spanish/errmsg.txt: Fixed typo sql/sql_yacc.yy: Changed TRUNCATE table_name -> TRUNCATE TABLE table_name support-files/Makefile.am: Portability fix
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
/* thread safe version of some common functions */
|
||||
|
||||
/* for thread safe my_inet_ntoa */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if !defined(MSDOS) && !defined(__WIN__) && !defined(__BEOS__)
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
@@ -31,3 +35,7 @@
|
||||
#endif /* !defined(MSDOS) && !defined(__WIN__) */
|
||||
|
||||
void my_inet_ntoa(struct in_addr in, char *buf);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user