FS-2774 --resolve upgrade mono support - MichaelGG

This commit is contained in:
Jeff Lenk committed 2011-10-25 16:59:04 -05:00
1 parent cdb00f132b
commit 1dcac642dd
5 files changed
+14 -22

No files matched your search

@@ -40,7 +40,6 @@ typedef void (*hangupFunction) (void);
typedef char *(*inputFunction) (void *, switch_input_type_t);
#ifndef _MANAGED
#include <glib.h>
#include <mono/jit/jit.h>
#include <mono/metadata/assembly.h>
#include <mono/metadata/environment.h>
@@ -73,7 +72,7 @@ extern mod_managed_globals globals;
#ifdef WIN32
#define RESULT_FREE(x) CoTaskMemFree(x)
#else
#define RESULT_FREE(x) g_free(x)
#define RESULT_FREE(x) mono_free(x)
#endif
SWITCH_END_EXTERN_C
@@ -191,4 +190,4 @@ class ManagedSession:public CoreSession {
hangupFunction hangupDelegate;
};
#endif
#endif