build: add fix for coverity

This commit is contained in:
Boris Faure 2018-04-04 20:03:59 +02:00
parent 0c5b868cc2
commit 75689087ae
3 changed files with 14 additions and 1 deletions

11
src/bin/coverity.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef _COVERITY_H__
#define _COVERITY_H__ 1
#ifdef __COVERITY__
#ifdef __x86_64__
typedef struct { long double x; long double y; } _Float128;
#endif
#endif /* __COVERITY__ */
#endif /* _COVERITY_H__ */

View File

@ -1,4 +1,4 @@
terminology_sources = ['private.h',
terminology_sources = ['private.h', 'coverity.h',
'about.c', 'about.h',
'col.c', 'col.h',
'config.c', 'config.h',

View File

@ -13,6 +13,8 @@
#endif
#define gettext_noop(String) String
#include "coverity.h"
extern int terminology_starting_up;
#ifdef ENABLE_FUZZING