From 72e7f011b29998d8a3e15eb5b381ef962af5fe5b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 5 Apr 2019 10:30:58 +0300 Subject: Upgrade to 8.0.15 --- mysql/libmysql/assert.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 mysql/libmysql/assert.c (limited to 'mysql/libmysql/assert.c') diff --git a/mysql/libmysql/assert.c b/mysql/libmysql/assert.c deleted file mode 100644 index 25bc49d..0000000 --- a/mysql/libmysql/assert.c +++ /dev/null @@ -1,28 +0,0 @@ -/* file : mysql/libmysql/assert.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd - * license : GPLv2 with FOSS License Exception; see accompanying COPYING file - */ - -#include - -#ifdef _MSC_VER -# include // C_ASSERT() -#endif - -#include -#include - -/* - * Make sure that some assumptions made at the preprocessing stage are true. - */ - -/* - * _Static_assert() is introduced in C11, is supported by GCC and Clang for C99 - * as well, and is not supported by VC at all. - */ -#ifdef _MSC_VER -# define _Static_assert(C, M) C_ASSERT (C) -#endif - -_Static_assert (sizeof (off_t) == SIZEOF_OFF_T, "unexpected off_t size"); -_Static_assert (sizeof (time_t) == SIZEOF_TIME_T, "unexpected time_t size"); -- cgit v1.1