mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-02 20:26:59 +01:00
Windows: Fix wrong calling convention with gcc compiler (issue 1209)
This commit is contained in:
parent
bfb338f0c2
commit
e2d63aeb3d
@ -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_
|
||||
|
Loading…
x
Reference in New Issue
Block a user