Portability fixes

This commit is contained in:
monty@narttu.mysql.fi 2003-02-28 13:27:48 +02:00
parent a67c7ebcf7
commit a0148ee657
2 changed files with 2 additions and 2 deletions

View File

@ -324,4 +324,4 @@ inline double ulonglong2double(ulonglong value)
#define statistic_increment(V,L) thread_safe_increment((V),(L))
#define shared_memory_buffer_length 16000
#define default_shared_memory_base_name "MYSQL";
#define default_shared_memory_base_name "MYSQL"

View File

@ -117,7 +117,7 @@
do the following:
*/
#if !defined(_XOPEN_SOURCE_EXTENDED) && ! defined(__cplusplus)
#define _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED 1
#endif
/* Fix type of socklen as this is depending on the above define */