diff options
author | Martin Storsjö <martin@martin.st> | 2012-11-30 11:16:58 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-05-04 23:58:59 +0300 |
commit | 2cca96e670e78bb19eb0232469d5a27245e18c02 (patch) | |
tree | 5483815257266601c984dcdb3a2a909171e445a2 /libavcodec/tiffenc.c | |
parent | 2b677ffca54a5fbef9c8860841c32f28ecd68f70 (diff) | |
download | ffmpeg-2cca96e670e78bb19eb0232469d5a27245e18c02.tar.gz |
configure: Check for getenv
When targeting the "windows store application" (metro) API subset
(or the windows phone API subset), the getenv function isn't
available. If it is unavailable, just define getenv to NULL.
The check uses check_func_headers, since the function actually
might exist in the libraries, but is hidden in the headers.
The fallback is in config.h since msvc can't do -D defines with
parameters on the command line, and it's used both within the
libraries and the frontend applications (so a libavutil internal
header wouldn't be enough).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/tiffenc.c')
0 files changed, 0 insertions, 0 deletions