diff --git a/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg b/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg index b7fd6016..a4191af6 100644 --- a/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg +++ b/src/main/java/com/eprosima/fastcdr/idl/templates/TypesHeader.stg @@ -20,8 +20,8 @@ import "FastCdrCommon.stg" main(ctx, definitions) ::= << $fileHeader(ctx=ctx, file=[ctx.filename, ".hpp"], description=["This header file contains the declaration of the described types in the IDL file."])$ -#ifndef _FAST_DDS_GENERATED_$ctx.headerGuardName$_HPP_ -#define _FAST_DDS_GENERATED_$ctx.headerGuardName$_HPP_ +#ifndef FAST_DDS_GENERATED__$ctx.headerGuardName$_HPP +#define FAST_DDS_GENERATED__$ctx.headerGuardName$_HPP $if(ctx.thereIsArray)$ #include