mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 00:19:46 +01:00
Merge pull request #15279 from neheb:patch-1
* jas_stream: Add definition for L_tmpnam if missing uClibc-ng for some reason does not provide a definition when some deprecated APIs are disabled. Value taken from the musl libc. * 3rdparty: move uClibc-ng workaround into config file
This commit is contained in:
parent
c5e9bbe4f3
commit
58ca013b90
6
3rdparty/libjasper/jasper/jas_config.h
vendored
6
3rdparty/libjasper/jasper/jas_config.h
vendored
|
|
@ -17,6 +17,12 @@
|
|||
#if !defined(JAS_WIN_MSVC_BUILD)
|
||||
/* A configure-based build is being used. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
// uClibc-ng workaround: https://github.com/opencv/opencv/pull/15279
|
||||
#ifndef L_tmpnam
|
||||
#define L_tmpnam 20
|
||||
#endif
|
||||
|
||||
|
||||
/* Extra debugging support */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user