summaryrefslogtreecommitdiff
path: root/plugins/indexers
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-05-22 11:55:33 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-05-22 11:55:33 +0000
commite4ab657d95bf71917f58b69fe0a42ccd7dac2dc2 (patch)
tree70b9c616c3d3a09264567074f5173e850139e9e3 /plugins/indexers
parent8eaf66d000d2511f7064585ee1aedd501edf1e17 (diff)
plugins/: Use #ifdef for HAVE_XYZ for consistency.
Original commit message from CVS: * plugins/elements/gstelements.c: * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek), (gst_file_sink_get_current_offset): * plugins/indexers/gstindexers.c: (plugin_init): Use #ifdef for HAVE_XYZ for consistency. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/filesink.c: (setup_filesink), (cleanup_filesink), (GST_START_TEST), (filesink_suite): Add some unit tests for filesink.
Diffstat (limited to 'plugins/indexers')
-rw-r--r--plugins/indexers/gstindexers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/indexers/gstindexers.c b/plugins/indexers/gstindexers.c
index 0cfc60311..5b08998d8 100644
--- a/plugins/indexers/gstindexers.c
+++ b/plugins/indexers/gstindexers.c
@@ -33,7 +33,7 @@ plugin_init (GstPlugin * plugin)
gboolean res = TRUE;
res &= gst_mem_index_plugin_init (plugin);
-#if HAVE_MMAP && !GST_DISABLE_LOADSAVE
+#if defined(HAVE_MMAP) && !defined(GST_DISABLE_LOADSAVE)
res &= gst_file_index_plugin_init (plugin);
#endif