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:
committed by
Alexander Alekhin
parent
c5e9bbe4f3
commit
58ca013b90
+6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user