[openssl-dev] Testing for a type with a define in e_os2.h?

Jeffrey Walton noloader at gmail.com
Sat Mar 26 22:14:05 UTC 2016


e_os2.h has this around line 260:

# if defined(OPENSSL_SYS_UEFI) && !defined(ssize_t)
#  define ossl_ssize_t int
#  define OSSL_SSIZE_MAX INT_MAX
# endif

I don't believe you can test for a type by using 'defined(t)'. Also
see http://stackoverflow.com/questions/12558538/how-can-i-check-a-certain-type-is-already-defined-in-c-compiler.

Jeff


More information about the openssl-dev mailing list