Bug #1273 » exiv2-0.25-check-return-type-properly.patch
exiv2-0.25/config/CMakeChecks.txt 2017-01-20 23:50:47.413528643 +0100 | ||
---|---|---|
196 | 196 |
##################################################################################### |
197 | 197 |
# strerror_r returns char* |
198 | 198 | |
199 |
# NOTE : reverting commit #2041, which break compilation under linux and windows |
|
200 | ||
201 |
CHECK_C_SOURCE_COMPILES( "#include <string.h> |
|
199 |
CHECK_CXX_SOURCE_COMPILES( "#include <string.h> |
|
202 | 200 |
int main() { |
203 | 201 |
char * c; |
204 | 202 |
c = strerror_r(0,c,0); |