Add ifdef __cplusplus into hardware/hw_main.h

This commit is contained in:
indev committed 2025-06-05 18:28:55 +03:00
1 parent 0b8caa5690
commit 4081639c51
1 file changed
+8
+8
View File
@@ -34,6 +34,10 @@
#define GLENCORE
#ifdef __cplusplus
extern "C" {
#endif
// Startup & Shutdown the hardware mode renderer
void HWR_Startup(void);
void HWR_Shutdown(void);
@@ -233,4 +237,8 @@ FUNCINLINE static ATTRINLINE boolean HWR_PalRenderFlashpal(void)
return (cv_glflashpal.value && HWR_ShouldUsePaletteRendering());
}
#ifdef __cplusplus
}// extern "C"
#endif
#endif