__WINE__ vs. __WINESRC__
Alexandre Julliard
julliard at winehq.com
Thu Jan 2 11:30:32 CST 2003
"Dimitrie O. Paun" <dpaun at rogers.com> writes:
> On January 1, 2003 07:40 pm, Alexandre Julliard wrote:
> > I think __WINE__ is best, let's just rename the internal one. BTW this
>
> Cool, but to what? __WINESRC__? __WINEBUILD__? __WINEINTERNAL__?
It doesn't really matter, just pick the one you prefer.
> Indeed. How do you want to do this? Can we do the rename, and then
> eliminate some of them? This would be best for me, since I can complete
> the work on wxWindows.
Sure, we can do the rename first.
> There are many things of this form:
>
> include/mediaobj.h:#ifndef __WINE__
> include/mediaobj.h-#include "rpc.h"
> include/mediaobj.h-#include "rpcndr.h"
> include/mediaobj.h-#ifndef COM_NO_WINDOWS_H
> include/mediaobj.h-#include "windows.h"
> include/mediaobj.h-#include "ole2.h"
> include/mediaobj.h-#endif
> include/mediaobj.h-#endif
>
> Do you want to keep them?
No, these should be removed. The same effect can be achieved by
defining COM_NO_WINDOWS_H in the C files that use the include.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list