From 8e8a4ceba30f2034c74d1542f3f04eaffa79979e Mon Sep 17 00:00:00 2001 From: AndersBroman Date: Mon, 9 Jun 2014 17:30:08 +0200 Subject: Try to fix the builds. Change-Id: I3ccb5c1b40504cd9314da5a09b225e3e2bf991b8 Reviewed-on: https://code.wireshark.org/review/2073 Reviewed-by: Anders Broman --- wsutil/ws_mempbrk.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 wsutil/ws_mempbrk.h (limited to 'wsutil/ws_mempbrk.h') diff --git a/wsutil/ws_mempbrk.h b/wsutil/ws_mempbrk.h new file mode 100644 index 0000000000..16c774f129 --- /dev/null +++ b/wsutil/ws_mempbrk.h @@ -0,0 +1,36 @@ +/* ws_mempbrk.h + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __WS_MEMPBRK_H__ +#define __WS_MEMPBRK_H__ + +#include "ws_symbol_export.h" + +WS_DLL_PUBLIC const guint8 *ws_mempbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles); + +#ifdef HAVE_SSE42 +const char *_ws_mempbrk_sse42(const char* haystack, size_t haystacklen, const char *needles); +#endif + +const guint8 *_ws_mempbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles); + + +#endif /* __WS_MEMPBRK_H__ */ \ No newline at end of file -- cgit v1.2.1