|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] libmusclecard for Windows and Linux
From: Karsten Ohme (widerstand
t-online.de)
Date: Fri Apr 29 2005 - 22:16:20 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I made an error in integrating the winscard.h in the linux header file
pcsclite.h
I included winscard.h from the subdirectory unix in the file pcsclite.h.
For Windows this works fine, but due to teh fact that the necessary
types are defined in pcsclite.h winscard.h ccannot find it.
So I changed it to the following:
In the directory PCSC/unix there is the file winscard.h, so that windows
can take its own file and so no conflicts are introduced.
unix/winscard.h includes ../pcsclite.h.
For Windows in the file mscdefines.h the only point of separation is
introduced:
#ifdef WIN32
#include "winscard.h"
#include "pcsclite.h"
#else
#include "unix/winscard.h"
#endif
For this I also corrected the pcsclite.in. But I haven't tried out in Linux.
I updated the install.w32 and included a free build instruction for
Windows (without a necessary Visual Studio).
Actual diffs and everything else is there:
http://www.inf.tu-dresden.de/~ko189283/MuscleCard/
Bye, Karsten
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]