Dan Petitt:

>  Can I ask/suggest that the define for "PLATFORM_H" be called something more
> specific to the scintilla project like "SCINPLATFORM_H".
>
>  This is because many projects use similar namings and it causes clashes.

   Platform.h is not intended to be part of the public interface of
Scintilla which is defined in Scintilla.h (with some contributions
from other headers). Unfortunately there are a couple of exceptions to
this: the static linking functions and the RangeToFormat struct .
SciTE uses Platform.h as a convenient source of some platform
functionality but it is not meant as a generic cross-platform library.
I'd prefer to move towards hiding Platform.h further rather than
changing the guard symbol. Another approach is to just remove the
guard.

   You can #undef PLATFORM_H before including Platform.h

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to