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
pull/15368/head
Rosen Penev 5 years ago committed by Alexander Alekhin
parent c5e9bbe4f3
commit 58ca013b90
  1. 6
      3rdparty/libjasper/jasper/jas_config.h

@ -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…
Cancel
Save