1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
#ifndef _OPENSC_WINCONFIG_H
#define _OPENSC_WINCONFIG_H
#include <stdio.h>
#include <windows.h>
#include <winscard.h>
#include <sys/timeb.h>
#include <sys/stat.h>
#ifndef strcasecmp
#define strcasecmp stricmp
#endif
#ifndef strncasecmp
#define strncasecmp strnicmp
#endif
#ifndef snprintf
#define snprintf _snprintf
#endif
#ifndef vsnprintf
#define vsnprintf _vsnprintf
#endif
#ifndef isatty
#define isatty _isatty
#endif
#ifndef strnicmp
#define strnicmp _strnicmp
#endif
#ifndef stricmp
#define stricmp _stricmp
#endif
#ifndef strdup
#define strdup _strdup
#endif
#ifndef fileno
#define fileno _fileno
#endif
#ifndef mkdir
#define mkdir _mkdir
#endif
#ifndef access
#define access _access
#endif
#ifndef unlink
#define unlink _unlink
#endif
#ifndef putenv
#define putenv _putenv
#endif
#ifndef R_OK
#define R_OK 4 /* test whether readable. */
#define W_OK 2 /* test whether writable. */
#define X_OK 1 /* test whether execubale. */
#define F_OK 0 /* test whether exist. */
#endif
#ifndef S_IRUSR
#define S_IRUSR S_IREAD
#endif
#ifndef S_IWUSR
#define S_IWUSR S_IWRITE
#endif
#define HAVE_STRNLEN
#define HAVE_IO_H
#define ENABLE_PCSC
#define HAVE_WINSCARD_H
#define DEFAULT_PCSC_PROVIDER "winscard.dll"
#define SC_PKCS15_PROFILE_DIRECTORY "C:\\Program Files\\OpenSC Project\\OpenSC\\profiles"
#define PATH_MAX FILENAME_MAX
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "0.16.0"
#endif
#ifndef PACKAGE_NAME
#define PACKAGE_NAME "OpenSC"
#endif
#ifndef OPENSC_FEATURES
#define OPENSC_FEATURES "N/A"
#endif
#ifndef OPENSC_VERSION_MAJOR
#define OPENSC_VERSION_MAJOR 0
#endif
#ifndef OPENSC_VERSION_MINOR
#define OPENSC_VERSION_MINOR 15
#endif
#ifndef OPENSC_VS_FF_COMPANY_NAME
#define OPENSC_VS_FF_COMPANY_NAME "OpenSC Project"
#endif
#ifndef OPENSC_VS_FF_PRODUCT_NAME
#define OPENSC_VS_FF_PRODUCT_NAME "OpenSC smartcard framework"
#endif
#ifndef DEFAULT_PKCS11_PROVIDER
#define DEFAULT_PKCS11_PROVIDER "opensc-pkcs11.dll"
#endif
#ifndef OPENSC_SCM_REVISION
#define OPENSC_SCM_REVISION "OpenSC-0.16.0, rev: 7eeba1f, commit-time: 2016-06-03 11:19:51 +0200"
#endif
#endif
|