]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost12sum.c
Explicitely setting cofactor
[openssl-gost/engine.git] / gost12sum.c
index 4936d7e4b27217edeafd4ac3e1f6cae20d86be83..15e2941f613c9c4ac869eae9a4fe2ea304303814 100644 (file)
  **********************************************************************/
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef _MSC_VER
+#include "getopt.h"
+# ifndef PATH_MAX
+#  define PATH_MAX _MAX_PATH
+# endif
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
+#else
 #include <unistd.h>
+#endif
 #include <limits.h>
 #include <fcntl.h>
 #ifdef _WIN32