Skip to content

Commit 7a4bd9b

Browse files
author
Alexander Matveev
committed
8252060: gstreamer fails to build with gcc 10
Reviewed-by: kcr
1 parent ddf8814 commit 7a4bd9b

File tree

1 file changed

+5
-1
lines changed
  • modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst

1 file changed

+5
-1
lines changed

modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstconfig.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@
162162
#ifdef GSTREAMER_LITE
163163
// We using def file to limit export, so not need to export all APIs
164164
#ifndef GST_API
165-
#define GST_API
165+
#if defined(__GNUC__)
166+
#define GST_API GST_EXPORT
167+
#else
168+
#define GST_API
169+
#endif
166170
#endif
167171
#else // GSTREAMER_LITE
168172
#ifndef GST_API

0 commit comments

Comments
 (0)