Skip to content

Commit

Permalink
Add missing #ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Sep 17, 2024
1 parent 4a78fc1 commit dde9e63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libtcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,9 @@ PUB_FUNC int tcc_parse_args(TCCState *s, int *pargc, char ***pargv, int optind)
x = TCC_OUTPUT_OBJ;
goto set_output_type;
case TCC_OPTION_framework:
#ifdef TCC_TARGET_MACHO
dynarray_add(&s->framework_names, &s->nb_framework_names, tcc_strdup(optarg));
#endif
break;
case TCC_OPTION_isystem:
tcc_add_sysinclude_path(s, optarg);
Expand Down

0 comments on commit dde9e63

Please sign in to comment.