[CMAKE] Allow compiling amd64 port with GCC on Windows

Dedicated to Daniel
This commit is contained in:
Jérôme Gardou 2021-05-19 14:13:51 +02:00
parent eae3db10ae
commit 0f723105c6
4 changed files with 19 additions and 2 deletions

View file

@ -20,7 +20,7 @@
#define is_alpha(c) (((c)>64 && (c)<91) || ((c)>96 && (c)<123))
#if defined(_WIN32) || defined(WIN32)
#define VISIBLE __decspec(dllexport)
#define VISIBLE __declspec(dllexport)
#else
#define VISIBLE __attribute__((__visibility__("default")))
#endif