summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
commitb370370a9e35f9dd2357102b17338d3d93bb62aa (patch)
treeb8a8c5019a0705a75cf9cf8572c07219bc159076 /src/arch/instruction.c
parent2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff)
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index 7fb9c4a..cd1e9c7 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -81,7 +81,7 @@ bool g_arch_instruction_store_destinations(GArchInstruction *, GObjectStorage *,
/* Indique le nombre de ligne prêtes à être générées. */
static size_t g_arch_instruction_count_lines(const GArchInstruction *);
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/* Retrouve l'emplacement correspondant à une position donnée. */
static void g_arch_instruction_compute_cursor(const GArchInstruction *, gint, size_t, size_t, GLineCursor **);
@@ -199,7 +199,7 @@ static void g_arch_instruction_init(GArchInstruction *instr)
static void g_arch_instruction_generator_init(GLineGeneratorInterface *iface)
{
iface->count = (linegen_count_lines_fc)g_arch_instruction_count_lines;
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
iface->compute = (linegen_compute_fc)g_arch_instruction_compute_cursor;
iface->contain = (linegen_contain_fc)g_arch_instruction_contain_cursor;
#endif
@@ -1841,7 +1841,7 @@ static size_t g_arch_instruction_count_lines(const GArchInstruction *instr)
}
-#ifdef HAVE_GTK_SUPPORT
+#ifdef INCLUDE_GTK_SUPPORT
/******************************************************************************