libsysprof-ui: set inside guards

This commit is contained in:
Christian Hergert
2019-05-08 09:27:40 -07:00
parent d89e2d8941
commit 1c6741bdc6
2 changed files with 5 additions and 2 deletions

View File

@ -63,6 +63,7 @@ libsysprof_ui = shared_library('sysprof-ui-@0@'.format(libsysprof_api_version),
dependencies: libsysprof_ui_deps,
install_dir: get_option('libdir'),
install: true,
c_args: [ '-DSYSPROF_UI_COMPILATION' ],
)
libsysprof_ui_dep = declare_dependency(

View File

@ -25,7 +25,8 @@
G_BEGIN_DECLS
#define SYSPROF_INSIDE
#define SYSPROF_UI_INSIDE
# include "sp-callgraph-view.h"
# include "sp-cell-renderer-percent.h"
# include "sp-cpu-visualizer-row.h"
@ -42,7 +43,8 @@ G_BEGIN_DECLS
# include "sp-visualizer-row.h"
# include "sp-visualizer-view.h"
# include "sp-zoom-manager.h"
#undef SYSPROF_INSIDE
#undef SYSPROF_UI_INSIDE
G_END_DECLS