--- srecord-1.64.orig/srecord/config.messy.h	2014-06-22 11:01:46.000000000 +0530
+++ srecord-1.64/srecord/config.messy.h	2020-03-17 01:27:30.759314400 +0530
@@ -53,7 +53,7 @@
 //
 // Cygwin's mingw mode...
 //
-#if defined(__MSVCRT__)
+#ifndef __MSVCRT__
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf
 #endif
