mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix compile error on current ubuntu by clashing symbol declarations in goffice and regex.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18411 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1e767585c8
commit
ffa2c6ed89
@ -3,6 +3,13 @@
|
|||||||
#include "gnc-book.h"
|
#include "gnc-book.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
||||||
|
#include <goffice/goffice-features.h>
|
||||||
|
#if (GO_VERSION_EPOCH == 0) && (GO_VERSION_MAJOR == 7) && (GO_VERSION_MINOR == 8)
|
||||||
|
/* For libgoffice-0.7.8, disable its internal inclusion of <regutf8.h>
|
||||||
|
so to avoid clashing symbol definitions with <regex.h> */
|
||||||
|
# define GO_REGUTF8_H
|
||||||
|
#endif
|
||||||
#include <goffice/utils/go-glib-extras.h>
|
#include <goffice/utils/go-glib-extras.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user