Commit 6bb42080 authored by unknown's avatar unknown

dbug/dbug.c: unused variable removed

include/config-win.h: SIZEOF_INT
include/my_global.h: win64 fix
support-files/Makefile.am: automake magic


dbug/dbug.c:
  unused variable removed
include/config-win.h:
  SIZEOF_INT
include/my_global.h:
  win64 fix
support-files/Makefile.am:
  automake magic
parent 9128a807
...@@ -2000,7 +2000,6 @@ static char *DbugMalloc(size_t size) ...@@ -2000,7 +2000,6 @@ static char *DbugMalloc(size_t size)
static const char *DbugStrTok(const char *s) static const char *DbugStrTok(const char *s)
{ {
const char *start=s;
while (s[0] && (s[0] != ':' || while (s[0] && (s[0] != ':' ||
(s[1] == '\\' || s[1] == '/' || (s[1] == ':' && s++)))) (s[1] == '\\' || s[1] == '/' || (s[1] == ':' && s++))))
s++; s++;
......
...@@ -172,6 +172,7 @@ typedef uint rf_SetTimer; ...@@ -172,6 +172,7 @@ typedef uint rf_SetTimer;
#endif #endif
#define VOID_SIGHANDLER #define VOID_SIGHANDLER
#define SIZEOF_CHAR 1 #define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 4 #define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG_LONG 8
#define SIZEOF_OFF_T 8 #define SIZEOF_OFF_T 8
......
...@@ -1020,8 +1020,10 @@ typedef unsigned long long my_ulonglong; ...@@ -1020,8 +1020,10 @@ typedef unsigned long long my_ulonglong;
typedef int intptr; typedef int intptr;
#elif SIZEOF_CHARP == SIZEOF_LONG #elif SIZEOF_CHARP == SIZEOF_LONG
typedef long intptr; typedef long intptr;
#elif SIZEOF_CHARP == SIZEOF_LONG_LONG
typedef long long intptr;
#else #else
#error sizeof(void *) is neither sizeof(int) nor sizeof(long) #error sizeof(void *) is neither sizeof(int) nor sizeof(long) nor sizeof(long long)
#endif #endif
#ifdef USE_RAID #ifdef USE_RAID
......
...@@ -26,7 +26,7 @@ EXTRA_DIST = mysql.spec.sh \ ...@@ -26,7 +26,7 @@ EXTRA_DIST = mysql.spec.sh \
mysql-log-rotate.sh \ mysql-log-rotate.sh \
mysql.server.sh \ mysql.server.sh \
binary-configure.sh \ binary-configure.sh \
magic \ magic mysql.m4 \
MySQL-shared-compat.spec.sh \ MySQL-shared-compat.spec.sh \
ndb-config-2-node.ini.sh \ ndb-config-2-node.ini.sh \
compiler_warnings.supp compiler_warnings.supp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment