[glib] Bug 661438: Fix up gmacros.h a bit
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Bug 661438: Fix up gmacros.h a bit
- Date: Wed, 12 Oct 2011 02:39:01 +0000 (UTC)
commit 36ccdab760003fc1efd2f49e77932cb253f006f4
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Oct 12 10:38:47 2011 +0800
Bug 661438: Fix up gmacros.h a bit
The macro here should be G_DEPRECATED, not G_GNUC_DEPRECATED.
glib/gmacros.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmacros.h b/glib/gmacros.h
index 47adc8a..ca14e72 100644
--- a/glib/gmacros.h
+++ b/glib/gmacros.h
@@ -290,7 +290,7 @@
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
#define G_DEPRECATED __attribute__((__deprecated__))
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
-#define G_GNUC_DEPRECATED __declspec(deprecated)
+#define G_DEPRECATED __declspec(deprecated)
#else
#define G_DEPRECATED
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]