Commit eea39b84 authored by Marshall Greenblatt's avatar Marshall Greenblatt

Windows: Fix wrong calling convention with gcc compiler (issue 1209)

parent b28a6145
......@@ -43,13 +43,17 @@
#else
#define CEF_EXPORT
#endif
#define CEF_CALLBACK __stdcall
#elif defined(COMPILER_GCC)
#define CEF_EXPORT __attribute__ ((visibility("default")))
#define CEF_CALLBACK
#endif // COMPILER_GCC
#if defined(OS_WIN)
#define CEF_CALLBACK __stdcall
#else
#define CEF_CALLBACK
#endif
#endif // CEF_INCLUDE_INTERNAL_CEF_EXPORT_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment