mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 02:31:46 +00:00
MinGW also supports __declspec(dllimport).
This commit is contained in:
parent
1247fc030f
commit
c5353646b6
@ -106,13 +106,7 @@ extern "C" {
|
|||||||
|
|
||||||
/* Under Windows, we need WINGDIAPI defined */
|
/* Under Windows, we need WINGDIAPI defined */
|
||||||
#if !defined(WINGDIAPI) && defined(_WIN32)
|
#if !defined(WINGDIAPI) && defined(_WIN32)
|
||||||
#if defined(_MSC_VER) || defined(__POCC__)
|
#define WINGDIAPI __declspec(dllimport)
|
||||||
/* Microsoft Visual C++ and Pelles C */
|
|
||||||
#define WINGDIAPI __declspec(dllimport)
|
|
||||||
#else
|
|
||||||
/* Others (e.g. MinGW, Cygwin) */
|
|
||||||
#define WINGDIAPI extern
|
|
||||||
#endif
|
|
||||||
#define GLFW_WINGDIAPI_DEFINED
|
#define GLFW_WINGDIAPI_DEFINED
|
||||||
#endif /* WINGDIAPI */
|
#endif /* WINGDIAPI */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user