[tracker/extractor-dev] libtracker-common: Added check for inclusion outside Tracker again
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/extractor-dev] libtracker-common: Added check for inclusion outside Tracker again
- Date: Tue, 9 Mar 2010 14:30:54 +0000 (UTC)
commit d3f2218d1bd4c7915de15828c48eacd71de88574
Author: Martyn Russell <martyn lanedo com>
Date: Tue Mar 9 13:07:29 2010 +0000
libtracker-common: Added check for inclusion outside Tracker again
src/libtracker-common/tracker-common.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/tracker-common.h b/src/libtracker-common/tracker-common.h
index 9992bf3..2892b55 100644
--- a/src/libtracker-common/tracker-common.h
+++ b/src/libtracker-common/tracker-common.h
@@ -20,6 +20,10 @@
#ifndef __LIBTRACKER_COMMON_H__
#define __LIBTRACKER_COMMON_H__
+#if !defined (__LIBTRACKER_COMMON_INSIDE__) && !defined (TRACKER_COMPILATION)
+#error "only <libtracker-common/tracker-common.h> must be included directly."
+#endif
+
#include <glib.h>
#define __LIBTRACKER_COMMON_INSIDE__
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]