[ros-dev] Re: [ros-diffs] [cwittich] 18611: fix compile with msvc
Alex Ionescu
ionucu at videotron.ca
Thu Oct 20 00:00:42 CEST 2005
cwittich at svn.reactos.com wrote:
>fix compile with msvc
>
>
> ------------------------------------------------------------------------
> *Modified: trunk/reactos/lib/aclui/precomp.h*
>
>--- trunk/reactos/lib/aclui/precomp.h 2005-10-19 21:46:17 UTC (rev 18610)
>+++ trunk/reactos/lib/aclui/precomp.h 2005-10-19 21:46:30 UTC (rev 18611)
>@@ -5,7 +5,9 @@
>
> #include <prsht.h>
> #include <aclui.h>
> #include <sddl.h>
>
>
>+#if defined (__GNUC__)
>
>
> #include <winternl.h>
>
>
>+#endif
>
>
> #include <ntsecapi.h>
> #if SUPPORT_UXTHEME
> #include <uxtheme.h>
>
>
These changes are really wrong! HEADERS have nothing to do with the
compiler! The HEADERS have to be fixed...you're just building with mingw
headers and msvc, and assuming the errors are because of msvc, but if
you'll try compiling with PSDK (or vice-versa), then these changes make
no sense at all.
Best regards,
Alex Ionescu
More information about the Ros-dev
mailing list