summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2012-05-16 18:39:44 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2012-05-16 18:39:44 +0800
commit9ad3717f03062a339208c7140f114b66809f1383 (patch)
tree126689c6dd6e0dccff618c9ad5f355f33ba3a91e
parent3f2cc6dac21ba5603857ad7c5b8e3d79b3f3f4cf (diff)
downloadclutter-9ad3717f03062a339208c7140f114b66809f1383.tar.gz
Visual C++ support: Fix clutter.def generation
Some Windows-specific APIs were not exported during the build due to use of a wrong macro. Fix that.
-rw-r--r--build/win32/vs10/clutter.props2
-rw-r--r--build/win32/vs9/clutter.vsprops2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/win32/vs10/clutter.props b/build/win32/vs10/clutter.props
index fc29dbf02..bf26e6284 100644
--- a/build/win32/vs10/clutter.props
+++ b/build/win32/vs10/clutter.props
@@ -350,7 +350,7 @@ copy ..\..\..\clutter\cally\cally-util.h $(CopyDir)\include\clutter-$(ClutterApi
<GenerateClutterDef>
echo EXPORTS &gt; ..\..\..\clutter\clutter.def
- cl -EP -DHAVE_CAIRO -DHAVE_CLUTTER_WIN32 -DCLUTTER_ENABLE_EXPERIMENTAL_API ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def
+ cl -EP -DHAVE_CAIRO -DCLUTTER_WINDOWING_WIN32 -DCLUTTER_ENABLE_EXPERIMENTAL_API ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def
</GenerateClutterDef>
<ClutterLibtoolCompatibleDllPrefix>lib</ClutterLibtoolCompatibleDllPrefix>
diff --git a/build/win32/vs9/clutter.vsprops b/build/win32/vs9/clutter.vsprops
index fb2987da0..c6a268f70 100644
--- a/build/win32/vs9/clutter.vsprops
+++ b/build/win32/vs9/clutter.vsprops
@@ -257,7 +257,7 @@ copy ..\..\..\clutter\cally\cally-util.h $(OutDir)\include\clutter-$(ClutterApiV
Name="GenerateClutterDef"
Value="
echo EXPORTS &gt; ..\..\..\clutter\clutter.def&#x0D;&#x0A;
- cl -EP -DHAVE_CAIRO -DHAVE_CLUTTER_WIN32 -DCLUTTER_ENABLE_EXPERIMENTAL_API ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def&#x0D;&#x0A;
+ cl -EP -DHAVE_CAIRO -DCLUTTER_WINDOWING_WIN32 -DCLUTTER_ENABLE_EXPERIMENTAL_API ..\..\..\clutter\clutter.symbols &gt;&gt; ..\..\..\clutter\clutter.def&#x0D;&#x0A;
"
/>
<UserMacro