mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add missing Extern "C" to MSVC portmacro.h
This commit is contained in:
parent
9f22177c02
commit
65e6297b68
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue