build: add fix for coverity

terminology-1.2
Boris Faure 5 years ago
parent 0c5b868cc2
commit 75689087ae
  1. 11
      src/bin/coverity.h
  2. 2
      src/bin/meson.build
  3. 2
      src/bin/private.h

@ -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__ */

@ -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',

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

Loading…
Cancel
Save