Merge branch 'rotation-4-5' into rotation
[alexxy/gromacs.git] / include / string2.h
index 95cd558880b6eb05d9d298c92c125e9b80a714da..0f26e3ffbc4973a362fe3db94d424b1e2855a75a 100644 (file)
@@ -123,6 +123,10 @@ char **split(char sep,const char *str);
 
 gmx_large_int_t str_to_large_int_t(const char *str, char **endptr);
 
+#if ((defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64) && !defined __CYGWIN__ && !defined __CYGWIN32__)
+#define snprintf _snprintf
+#endif
+
 #ifdef __cplusplus
 }
 #endif