[glib/new-gsettings] allow gsettingsbackend.h during gio compilation



commit 0a1ae054796a6ac53d1aa89000ac7f93fd326374
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Apr 15 10:06:08 2010 -0400

    allow gsettingsbackend.h during gio compilation

 gio/gsettingsbackend.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsettingsbackend.h b/gio/gsettingsbackend.h
index 0938cd0..ecdf51b 100644
--- a/gio/gsettingsbackend.h
+++ b/gio/gsettingsbackend.h
@@ -24,7 +24,7 @@
 #ifndef __G_SETTINGS_BACKEND_H__
 #define __G_SETTINGS_BACKEND_H__
 
-#ifndef G_SETTINGS_ENABLE_BACKEND
+#if !defined (G_SETTINGS_ENABLE_BACKEND) && !defined (GIO_COMPILATION)
 #error "You must define G_SETTINGS_ENABLE_BACKEND before including <gio/gsettingsbackend.h>."
 #endif
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]