gstreamer/subprojects/gst-devtools/validate/gst/validate/validate-prelude.h
Stéphane Cerveau 1ba066bda2 validate: cleanup the use of GST_VALIDATE_API on Windows
Export or import properly the method from GST_VALIDATE_API
with a proper config.h

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3429>
2022-11-18 02:17:27 +00:00

35 lines
1.2 KiB
C

/* GStreamer Validate Library
* Copyright (C) 2018 GStreamer developers
*
* validate-prelude.h: prelude include header for gst-validate library
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GST_VALIDATE_PRELUDE_H__
#define __GST_VALIDATE_PRELUDE_H__
#include <gst/gst.h>
#ifndef GST_VALIDATE_API
#ifdef BUILDING_GST_VALIDATE
#define GST_VALIDATE_API GST_API_EXPORT /* from config.h */
#else
#define GST_VALIDATE_API GST_API_IMPORT
#endif
#endif
#endif /* __GST_VALIDATE_PRELUDE_H__ */