Fixed missing C++ guards

This commit is contained in:
akallabeth 2022-06-22 12:31:06 +02:00 committed by akallabeth
parent 650a275ceb
commit 7c01af04fb

View File

@ -25,7 +25,14 @@
#include <freerdp/api.h> #include <freerdp/api.h>
#include <freerdp/codec/audio.h> #include <freerdp/codec/audio.h>
FREERDP_API size_t server_audin_get_formats(AUDIO_FORMAT** dst_formats); #ifdef __cplusplus
FREERDP_API size_t server_rdpsnd_get_formats(AUDIO_FORMAT** dst_formats); extern "C"
{
#endif
FREERDP_API size_t server_audin_get_formats(AUDIO_FORMAT** dst_formats);
FREERDP_API size_t server_rdpsnd_get_formats(AUDIO_FORMAT** dst_formats);
#ifdef __cplusplus
}
#endif
#endif /* FREERDP_SERVER_COMMON_SERVER_H */ #endif /* FREERDP_SERVER_COMMON_SERVER_H */