[sysprof/wip/chergert/sysprof-3] libsysprof-ui: set inside guards
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof-ui: set inside guards
- Date: Wed, 8 May 2019 16:28:18 +0000 (UTC)
commit 4ef46e2c5ac8f89bc73024440db7e1565bf581a4
Author: Christian Hergert <chergert redhat com>
Date: Wed May 8 09:27:40 2019 -0700
libsysprof-ui: set inside guards
src/libsysprof-ui/meson.build | 1 +
src/libsysprof-ui/sysprof-ui.h | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/libsysprof-ui/meson.build b/src/libsysprof-ui/meson.build
index 15efb12..3789dcc 100644
--- a/src/libsysprof-ui/meson.build
+++ b/src/libsysprof-ui/meson.build
@@ -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(
diff --git a/src/libsysprof-ui/sysprof-ui.h b/src/libsysprof-ui/sysprof-ui.h
index f8f4830..bfe93f2 100644
--- a/src/libsysprof-ui/sysprof-ui.h
+++ b/src/libsysprof-ui/sysprof-ui.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]