Skip to content

Commit

Permalink
Fix compilation of 3DSOLID_materials in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-josef-spacek authored and rurban committed Aug 3, 2024
1 parent 6f1d6ee commit fe8ac83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -4884,6 +4884,7 @@ encode_preR13_section (const Dwg_Section_Type_r11 id, Bit_Chain *restrict dat,
return error;
}

#ifndef DEBUG_CLASSES
static void
disable_3DSOLID_materials (Dwg_Object *obj)
{
Expand All @@ -4899,6 +4900,7 @@ disable_3DSOLID_materials (Dwg_Object *obj)
&num_materials, false);
}
}
#endif

/*
static int
Expand Down

0 comments on commit fe8ac83

Please sign in to comment.