--- a/sources/basics.h	Tue May 26 18:46:24 2015 +0300
+++ b/sources/basics.h	Wed May 27 21:42:47 2015 +0300
@@ -32,6 +32,10 @@
 #include <algorithm>
 #include <functional>
 
+#ifndef _MSC_VER
+# define __cdecl
+#endif
+
 #define FUNCTION auto
 #define STATIC
 #define METHOD auto