mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
libsysprof-ui: set inside guards
This commit is contained in:
@ -63,6 +63,7 @@ libsysprof_ui = shared_library('sysprof-ui-@0@'.format(libsysprof_api_version),
|
|||||||
dependencies: libsysprof_ui_deps,
|
dependencies: libsysprof_ui_deps,
|
||||||
install_dir: get_option('libdir'),
|
install_dir: get_option('libdir'),
|
||||||
install: true,
|
install: true,
|
||||||
|
c_args: [ '-DSYSPROF_UI_COMPILATION' ],
|
||||||
)
|
)
|
||||||
|
|
||||||
libsysprof_ui_dep = declare_dependency(
|
libsysprof_ui_dep = declare_dependency(
|
||||||
|
|||||||
@ -25,7 +25,8 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define SYSPROF_INSIDE
|
#define SYSPROF_UI_INSIDE
|
||||||
|
|
||||||
# include "sp-callgraph-view.h"
|
# include "sp-callgraph-view.h"
|
||||||
# include "sp-cell-renderer-percent.h"
|
# include "sp-cell-renderer-percent.h"
|
||||||
# include "sp-cpu-visualizer-row.h"
|
# include "sp-cpu-visualizer-row.h"
|
||||||
@ -42,7 +43,8 @@ G_BEGIN_DECLS
|
|||||||
# include "sp-visualizer-row.h"
|
# include "sp-visualizer-row.h"
|
||||||
# include "sp-visualizer-view.h"
|
# include "sp-visualizer-view.h"
|
||||||
# include "sp-zoom-manager.h"
|
# include "sp-zoom-manager.h"
|
||||||
#undef SYSPROF_INSIDE
|
|
||||||
|
#undef SYSPROF_UI_INSIDE
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user