Am Dienstag 09 März 2010 09:21:30 schrieb François Leblanc:
> >hmm, why move internal.h? what is in internal.h that changes the winreg.h
> >include?
> 
> Winreg.h depends of definition in windows.h witch is included in
> internal.h...

so we could revert this check, and instead add a
/* windows.h required before winreg.h*/
#include <windows.h>
#include <winreg.h>

inside the #ifdef _WIN32 ?
looks cleaner to me...

maybe we can even get rid of "internal.h" some day,
as now all header files are considered internal, and
we don't export libopensc and its header any more.

Regards, Andreas
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to