From a0148ee657e38fb3d357d5cc9d63b50965e95dcc Mon Sep 17 00:00:00 2001 From: "monty@narttu.mysql.fi" <> Date: Fri, 28 Feb 2003 13:27:48 +0200 Subject: [PATCH] Portability fixes --- include/config-win.h | 2 +- include/my_global.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/config-win.h b/include/config-win.h index c1939e9116f..558fde52e65 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -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" diff --git a/include/my_global.h b/include/my_global.h index 60fd8f162ae..f9ce10336d5 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -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 */