Skip to content

Commit

Permalink
Fix the warnings revealed at Github CI on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
fvogelnew1 committed Dec 3, 2023
1 parent 2e2802d commit 184dd43
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion generic/tkText.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,15 @@
/* We are still supporting the deprecated commands "edit canundo/redo". */
# define SUPPORT_DEPRECATED_CANUNDO_REDO 1

#endif /* TK_MAJOR_VERSION < 9 */
#else /* TK_NO_DEPRECATED */

# define SUPPORT_DEPRECATED_STARTLINE_ENDLINE 0
# define SUPPORT_DEPRECATED_MODS_OF_DISABLED_WIDGET 0
# define BEGIN_DOES_NOT_BELONG_TO_BASE 0
# define SUPPORT_DEPRECATED_TAG_OPTIONS 0
# define SUPPORT_DEPRECATED_CANUNDO_REDO 0

#endif /* TK_NO_DEPRECATED */

#ifdef _MSC_VER
/* earlier versions of MSVC don't know snprintf, but _snprintf is compatible. */
Expand Down

0 comments on commit 184dd43

Please sign in to comment.