diff options
author | jmagne <jmagne@fba4d07e-fe0f-4d7f-8147-e0026e666dc0> | 2011-02-02 00:52:50 +0000 |
---|---|---|
committer | jmagne <jmagne@fba4d07e-fe0f-4d7f-8147-e0026e666dc0> | 2011-02-02 00:52:50 +0000 |
commit | d7cb68a78b16605f8e722073ba009bd249cd6193 (patch) | |
tree | 9f082b34635f544881e038bc6ad26119ec2d15a9 /src | |
parent | 2e439f7f735be350de074597372e3913f9a75d9e (diff) |
Define LPSCARD_READERSTATE only for the Mac.
git-svn-id: http://svn.fedorahosted.org/svn/coolkey/trunk@94 fba4d07e-fe0f-4d7f-8147-e0026e666dc0
Diffstat (limited to 'src')
-rw-r--r-- | src/libckyapplet/cky_card.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libckyapplet/cky_card.c b/src/libckyapplet/cky_card.c index 5022f77..e613961 100644 --- a/src/libckyapplet/cky_card.c +++ b/src/libckyapplet/cky_card.c @@ -27,6 +27,12 @@ #ifndef WINAPI #define WINAPI +/* + * The Mac needs this typedef to compile. +*/ +#ifdef MAC +typedef SCARD_READERSTATE *LPSCARD_READERSTATE; +#endif #endif #ifndef SCARD_E_NO_READERS_AVAILABLE |