CMake/Tests/RunCMake/IAR/module.h
Felipe Torrezan 37e44707bc IAR: Add tests covering IAR toolchains
Run the tests only if enabled explicitly by an undocumented cache
entry.  We will enable it on hosts known to have the toolchains.
2023-10-23 15:59:40 -04:00

15 lines
341 B
C

#ifndef __MODULE_H__
#define __MODULE_H__
#if defined(__cplusplus)
# define INTERNAL 64
#elif !defined(__cplusplus) && defined(__IAR_SYSTEMS_ICC__)
# define INTERNAL 32
#elif defined(__IAR_SYSTEMS_ASM__)
# define INTERNAL 16
#else
# error "Unable to determine INTERNAL symbol."
#endif /* __IAR_SYSTEMS_ICC */
#endif /* __MODULE_H__ */