add guards for material headers

This commit is contained in:
Nick Fisher
2024-05-11 22:38:52 +08:00
parent 85f129d435
commit f7c3d20aa9
2 changed files with 8 additions and 0 deletions

View File

@@ -3,12 +3,16 @@
#include <stdint.h>
#if defined(__cplusplus)
extern "C"
{
#endif
extern const uint8_t GIZMO_PACKAGE[];
extern int GIZMO_GIZMO_OFFSET;
extern int GIZMO_GIZMO_SIZE;
#if defined(__cplusplus)
}
#endif
#define GIZMO_GIZMO_DATA (GIZMO_PACKAGE + GIZMO_GIZMO_OFFSET)
#endif