From 11380bc3b2b4464a91c13610e3f6b67acb7bdb77 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 23 Jan 2020 17:48:27 -0500 Subject: [PATCH] Merge from upstream gtkwave includes. --- include/gtkwave/fastlz.c | 2 -- include/gtkwave/wavealloca.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/include/gtkwave/fastlz.c b/include/gtkwave/fastlz.c index 3d2c3dc1e..50bf56a46 100644 --- a/include/gtkwave/fastlz.c +++ b/include/gtkwave/fastlz.c @@ -418,9 +418,7 @@ static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void const flzuint8* ip = (const flzuint8*) input; const flzuint8* ip_limit = ip + length; flzuint8* op = (flzuint8*) output; -#ifdef FASTLZ_SAFE flzuint8* op_limit = op + maxout; -#endif flzuint32 ctrl = (*ip++) & 31; int loop = 1; diff --git a/include/gtkwave/wavealloca.h b/include/gtkwave/wavealloca.h index 86276648f..8c064fe03 100644 --- a/include/gtkwave/wavealloca.h +++ b/include/gtkwave/wavealloca.h @@ -33,9 +33,6 @@ #else #include #endif -#elif defined(_MSC_VER) -#include -#define alloca _alloca #endif #define wave_alloca alloca #endif