Skip to content

Commit

Permalink
Fix SyncTeX compilation on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
stloeffler committed Jan 12, 2025
1 parent 7b00724 commit b2879bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/synctex/synctex_parser_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ extern "C" {
# endif

# if defined(_MSC_VER)
# define SYNCTEX_ATTRIBUTE_FORMAT_PRINTF(STRING_INDEX, FIRST_TO_CHECK) ATTRIBUTE_FORMAT_PRINTF(STRING_INDEX, FIRST_TO_CHECK)
# define SYNCTEX_ATTRIBUTE_FORMAT_PRINTF(STRING_INDEX, FIRST_TO_CHECK)
# else
# define SYNCTEX_ATTRIBUTE_FORMAT_PRINTF(STRING_INDEX, FIRST_TO_CHECK) __attribute__((__format__ (__printf__, (STRING_INDEX), (FIRST_TO_CHECK))))
# endif
Expand Down

0 comments on commit b2879bb

Please sign in to comment.