From e58d622d5fd7ab8fac4ed01dbcf4546a475a3938 Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Wed, 10 Jul 2013 07:57:20 +0100
Subject: [PATCH] Added note about /Gz for OpenSSL & Windows

---
 UserManual.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/UserManual.md b/UserManual.md
index 701ee2457..5f6904e59 100644
--- a/UserManual.md
+++ b/UserManual.md
@@ -357,6 +357,10 @@ variable is visible in the block that follows.
   the Manual should be of help. Note: the syntax changes from time to time,
   so updating the config file might be necessary after executable update.
 
+- Embedding with OpenSSL on Windows might fail because of calling convention.
+  To force Mongoose to use `__stdcall` convention, add `/Gz` compilation
+  flag in Visual Studio compiler.
+
 # Embedding
 Embedding Mongoose is easy. Copy
 [mongoose.c](https://github.com/valenok/mongoose/blob/master/mongoose.c) and
-- 
GitLab