Fix compilation

Wed, 27 May 2015 21:42:47 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Wed, 27 May 2015 21:42:47 +0300
changeset 85
ed61569c501f
parent 83
08bfc3d9d2ae
child 86
3c02a728a681

Fix compilation

sources/basics.h file | annotate | diff | comparison | revisions
--- 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

mercurial