Add missing Extern "C" to MSVC portmacro.h

This commit is contained in:
Ethan Slattery 2024-05-19 19:03:30 -07:00 committed by Paul Bartell
parent 9f22177c02
commit 65e6297b68

View file

@ -40,6 +40,10 @@
#include <mmsystem.h> #include <mmsystem.h>
#include <winbase.h> #include <winbase.h>
#ifdef __cplusplus
extern "C" {
#endif
/****************************************************************************** /******************************************************************************
* Defines * Defines
******************************************************************************/ ******************************************************************************/
@ -215,4 +219,8 @@ void vPortGenerateSimulatedInterruptFromWindowsThread( uint32_t ulInterruptNumbe
void vPortSetInterruptHandler( uint32_t ulInterruptNumber, void vPortSetInterruptHandler( uint32_t ulInterruptNumber,
uint32_t ( * pvHandler )( void ) ); uint32_t ( * pvHandler )( void ) );
#ifdef __cplusplus
}
#endif
#endif /* ifndef PORTMACRO_H */ #endif /* ifndef PORTMACRO_H */