This _WIN32-specific patch makes it possible to "wrap" OpenSSL in another

.DLL, in particular static build. The issue has been discussed in RT#1230
and later on openssl-dev, and mutually exclusive approaches were suggested.
This completes compromise solution suggested in RT#1230.
PR: 1230
This commit is contained in:
Andy Polyakov
2008-12-22 13:54:12 +00:00
parent 70531c147c
commit e527201f6b
9 changed files with 55 additions and 6 deletions

View File

@@ -79,6 +79,13 @@
# include <sys/stat.h>
#endif
#ifdef _WIN32
#define stat _stat
#define chmod _chmod
#define open _open
#define fdopen _fdopen
#endif
#undef BUFSIZE
#define BUFSIZE 1024
#define RAND_DATA 1024