summaryrefslogtreecommitdiff
path: root/support/texlab/crates/bibutils_sys/src/msvc_fix.h
blob: cca99bed06cb2f9c1f7e25670f8c4bf69be72fe7 (plain)
1
2
3
4
5
6
7
// Patch: Fix build on MSVC
#if defined(_WIN32) || defined(_WIN64)
  #define snprintf _snprintf
  #define vsnprintf _vsnprintf
  #define strcasecmp _stricmp
  #define strncasecmp _strnicmp
#endif