Added ifndef to config.h latest changes to allow makefile configurations.

This commit is contained in:
skarg
2009-08-07 14:11:39 +00:00
parent d5b455c742
commit 1a2241a0eb
+12 -3
View File
@@ -137,7 +137,16 @@
/*
** Set the maximum vector type sizes
*/
#define MAX_BITSTRING_BYTES (15)
#define MAX_CHARACTER_STRING_BYTES (MAX_APDU-6)
#define MAX_OCTET_STRING_BYTES (MAX_APDU-6)
#ifndef MAX_BITSTRING_BYTES
#define MAX_BITSTRING_BYTES (15)
#endif
#ifndef MAX_CHARACTER_STRING_BYTES
#define MAX_CHARACTER_STRING_BYTES (MAX_APDU-6)
#endif
#ifndef MAX_OCTET_STRING_BYTES
#define MAX_OCTET_STRING_BYTES (MAX_APDU-6)
#endif
#endif