diff options
author | MySQL Team <mysql@php.net> | 2001-06-01 20:07:26 +0000 |
---|---|---|
committer | MySQL Team <mysql@php.net> | 2001-06-01 20:07:26 +0000 |
commit | e8cbbc0637cb27c6fda64940a9138e08060475f8 (patch) | |
tree | f6353232aba5ae05c8f4779865cd742dc392b181 /ext/mysql/libmysql/my_net.h | |
parent | 304ac03be434eecf6edc1f025c455e9089f8af37 (diff) | |
download | php-git-e8cbbc0637cb27c6fda64940a9138e08060475f8.tar.gz |
Upgrade ext/mysql/libmysql to version 3.23.39. No major changes -
portability fixes.
Also add configure test for HAVE_INT_8_16_32 which should solve
compilation problems on AIX.
Diffstat (limited to 'ext/mysql/libmysql/my_net.h')
-rw-r--r-- | ext/mysql/libmysql/my_net.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/mysql/libmysql/my_net.h b/ext/mysql/libmysql/my_net.h index 143ddd9d65..4633f3dfbd 100644 --- a/ext/mysql/libmysql/my_net.h +++ b/ext/mysql/libmysql/my_net.h @@ -4,6 +4,10 @@ This file is public domain and comes with NO WARRANTY of any kind */ /* 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> @@ -17,3 +21,7 @@ This file is public domain and comes with NO WARRANTY of any kind */ #endif /* !defined(MSDOS) && !defined(__WIN__) */ void my_inet_ntoa(struct in_addr in, char *buf); + +#ifdef __cplusplus +} +#endif |