(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION >= (micro)))
+/* annotation for exported variables
+ *
+ * XXX: this has to be defined here because clutter-macro.h imports this
+ * header file.
+ */
+#ifdef _MSC_VER
+# ifdef CLUTTER_COMPILATION
+# define CLUTTER_VAR __declspec(dllexport)
+# else
+# define CLUTTER_VAR extern __declspec(dllimport)
+# endif
+#else
+# define CLUTTER_VAR extern
+#endif
+
/**
* clutter_major_version:
*
*
* Since: 1.2
*/
-extern const guint clutter_major_version;
+CLUTTER_VAR const guint clutter_major_version;
/**
* clutter_minor_version:
*
* Since: 1.2
*/
-extern const guint clutter_minor_version;
+CLUTTER_VAR const guint clutter_minor_version;
/**
* clutter_micro_version:
*
* Since: 1.2
*/
-extern const guint clutter_micro_version;
+CLUTTER_VAR const guint clutter_micro_version;
gboolean clutter_check_version (guint major,
guint minor,