Memorize last state for result table h and v headers

This commit is contained in:
Jean-Francois Dockes
2021-02-11 13:34:34 +01:00
parent f2b17dbeca
commit 2678b304c5
3 changed files with 11 additions and 4 deletions
-4
View File
@@ -35,13 +35,9 @@
#include <unordered_set>
#ifdef _WIN32
// needed for localtime_r under mingw?
#define _POSIX_THREAD_SAFE_FUNCTIONS
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#ifdef _MSC_VER
#define localtime_r(a,b) localtime_s(b,a)
#endif /* _MSC_VER */
#endif /* _WIN32 */
+7
View File
@@ -43,6 +43,13 @@ void smallut_init_mt();
#ifndef PRETEND_USE
#define PRETEND_USE(var) ((void)(var))
#endif
#ifndef VERSION_AT_LEAST
#define VERSION_AT_LEAST(LIBMAJ,LIBMIN,LIBREV,TARGMAJ,TARGMIN,TARGREV) \
((LIBMAJ) > (TARGMAJ) || \
((LIBMAJ) == (TARGMAJ) && \
((LIBMIN) > (TARGMIN) || \
((LIBMIN) == (TARGMIN) && (LIBREV) >= (TARGREV)))))
#endif
#endif /* SMALLUT_DISABLE_MACROS */
// Case-insensitive compare. ASCII ONLY !