validate: cleanup the use of GST_VALIDATE_API on Windows
[platform/upstream/gstreamer.git] / subprojects / gst-devtools / validate / gst / validate / validate-prelude.h
index 5163463..59a0754 100644 (file)
 #include <gst/gst.h>
 
 #ifndef GST_VALIDATE_API
-#define GST_VALIDATE_API GST_EXPORT
+#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__ */