|
198 | 198 | #error "POLARSSL_PKCS11_C defined, but not all prerequisites"
|
199 | 199 | #endif
|
200 | 200 |
|
| 201 | +#if defined(POLARSSL_PLATFORM_EXIT_ALT) && !defined(POLARSSL_PLATFORM_C) |
| 202 | +#error "POLARSSL_PLATFORM_EXIT_ALT defined, but not all prerequisites" |
| 203 | +#endif |
| 204 | + |
| 205 | +#if defined(POLARSSL_PLATFORM_FPRINTF_ALT) && !defined(POLARSSL_PLATFORM_C) |
| 206 | +#error "POLARSSL_PLATFORM_FPRINTF_ALT defined, but not all prerequisites" |
| 207 | +#endif |
| 208 | + |
| 209 | +#if defined(POLARSSL_PLATFORM_MEMORY) && !defined(POLARSSL_PLATFORM_C) |
| 210 | +#error "POLARSSL_PLATFORM_MEMORY defined, but not all prerequisites" |
| 211 | +#endif |
| 212 | + |
| 213 | +#if defined(POLARSSL_PLATFORM_PRINTF_ALT) && !defined(POLARSSL_PLATFORM_C) |
| 214 | +#error "POLARSSL_PLATFORM_PRINTF_ALT defined, but not all prerequisites" |
| 215 | +#endif |
| 216 | + |
| 217 | +#if defined(POLARSSL_PLATFORM_SNPRINTF_ALT) && !defined(POLARSSL_PLATFORM_C) |
| 218 | +#error "POLARSSL_PLATFORM_SNPRINTF_ALT defined, but not all prerequisites" |
| 219 | +#endif |
| 220 | + |
201 | 221 | #if defined(POLARSSL_PLATFORM_SNPRINTF_ALT) && ( defined(_WIN32)\
|
202 | 222 | && !defined(EFIX64) && !defined(EFI32) )
|
203 | 223 | #error "POLARSSL_PLATFORM_SNPRINTF_ALT defined but not available on Windows"
|
204 | 224 | #endif
|
205 | 225 |
|
| 226 | +#if defined(POLARSSL_PLATFORM_STD_MEM_HDR) &&\ |
| 227 | + !defined(POLARSSL_PLATFORM_NO_STD_FUNCTIONS) |
| 228 | +#error "POLARSSL_PLATFORM_STD_MEM_HDR defined, but not all prerequisites" |
| 229 | +#endif |
| 230 | + |
| 231 | +#if defined(POLARSSL_PLATFORM_STD_MALLOC) && !defined(POLARSSL_PLATFORM_MEMORY) |
| 232 | +#error "POLARSSL_PLATFORM_STD_MALLOC defined, but not all prerequisites" |
| 233 | +#endif |
| 234 | + |
| 235 | +#if defined(POLARSSL_PLATFORM_STD_MALLOC) && !defined(POLARSSL_PLATFORM_MEMORY) |
| 236 | +#error "POLARSSL_PLATFORM_STD_MALLOC defined, but not all prerequisites" |
| 237 | +#endif |
| 238 | + |
| 239 | +#if defined(POLARSSL_PLATFORM_STD_FREE) && !defined(POLARSSL_PLATFORM_MEMORY) |
| 240 | +#error "POLARSSL_PLATFORM_STD_FREE defined, but not all prerequisites" |
| 241 | +#endif |
| 242 | + |
| 243 | +#if defined(POLARSSL_PLATFORM_STD_EXIT) &&\ |
| 244 | + !defined(POLARSSL_PLATFORM_EXIT_ALT) |
| 245 | +#error "POLARSSL_PLATFORM_STD_EXIT defined, but not all prerequisites" |
| 246 | +#endif |
| 247 | + |
| 248 | +#if defined(POLARSSL_PLATFORM_STD_FPRINTF) &&\ |
| 249 | + !defined(POLARSSL_PLATFORM_FPRINTF_ALT) |
| 250 | +#error "POLARSSL_PLATFORM_STD_FPRINTF defined, but not all prerequisites" |
| 251 | +#endif |
| 252 | + |
| 253 | +#if defined(POLARSSL_PLATFORM_STD_PRINTF) &&\ |
| 254 | + !defined(POLARSSL_PLATFORM_PRINTF_ALT) |
| 255 | +#error "POLARSSL_PLATFORM_STD_PRINTF defined, but not all prerequisites" |
| 256 | +#endif |
| 257 | + |
| 258 | +#if defined(POLARSSL_PLATFORM_STD_SNPRINTF) &&\ |
| 259 | + !defined(POLARSSL_PLATFORM_SNPRINTF_ALT) |
| 260 | +#error "POLARSSL_PLATFORM_STD_SNPRINTF defined, but not all prerequisites" |
| 261 | +#endif |
| 262 | + |
206 | 263 | #if defined(POLARSSL_RSA_C) && ( !defined(POLARSSL_BIGNUM_C) || \
|
207 | 264 | !defined(POLARSSL_OID_C) )
|
208 | 265 | #error "POLARSSL_RSA_C defined, but not all prerequisites"
|
|
0 commit comments