Fix compiler warnings

ctx.c:679:7: warning: "ENABLE_CTAPI" is not defined
ctx.c:681:7: warning: "ENABLE_OPENCT" is not defined
This commit is contained in:
Ludovic Rousseau 2011-06-23 17:07:26 +02:00
parent b7c2836d94
commit a59ded782e
1 changed files with 2 additions and 2 deletions

View File

@ -676,9 +676,9 @@ int sc_context_create(sc_context_t **ctx_out, const sc_context_param_t *parm)
ctx->reader_driver = sc_get_cardmod_driver();
}
#endif
#elif ENABLE_CTAPI
#elif defined(ENABLE_CTAPI)
ctx->reader_driver = sc_get_ctapi_driver();
#elif ENABLE_OPENCT
#elif defined(ENABLE_OPENCT)
ctx->reader_driver = sc_get_openct_driver();
#endif