diff options
author | Kristian Rietveld <kris@lanedo.com> | 2011-10-22 10:10:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-24 12:56:23 +0200 |
commit | 81448039ea3f757fcdfc2212a02b0ecf56b7c821 (patch) | |
tree | e0d33d31b9b987175087b97ca3eeba80a91a37b7 /toolkit | |
parent | c31d7b012f953f4a677fd5a576c0aa8379897879 (diff) |
Also use .NET2003 build fix for Clang
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/forward.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/forward.hxx b/toolkit/source/awt/forward.hxx index ab39b40ba7c9..efb22e7a9449 100644 --- a/toolkit/source/awt/forward.hxx +++ b/toolkit/source/awt/forward.hxx @@ -64,12 +64,12 @@ return aReturn; \ } -#if defined (_MSC_VER) && (_MSC_VER <= 1310) +#if (defined (_MSC_VER) && (_MSC_VER <= 1310)) || defined (__clang__) // Windows .Net2003 build fix #define W3K_EXPLICIT_CAST(x) static_cast <XWindow2*> (&x) -#else // !(defined (_MSC_VER) && (_MSC_VER <= 1310)) +#else // !((defined (_MSC_VER) && (_MSC_VER <= 1310)) || defined (__clang__)) #define W3K_EXPLICIT_CAST(x) x -#endif // !(defined (_MSC_VER) && (_MSC_VER <= 1310)) +#endif // !((defined (_MSC_VER) && (_MSC_VER <= 1310)) || defined (__clang__)) #endif /* AWT_FORWARD_HXX */ |