mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 12:18:51 -05: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 */
|
||||
#if !defined(WINGDIAPI) && defined(_WIN32)
|
||||
#if defined(_MSC_VER) || defined(__POCC__)
|
||||
/* Microsoft Visual C++ and Pelles C */
|
||||
#define WINGDIAPI __declspec(dllimport)
|
||||
#else
|
||||
/* Others (e.g. MinGW, Cygwin) */
|
||||
#define WINGDIAPI extern
|
||||
#endif
|
||||
#define WINGDIAPI __declspec(dllimport)
|
||||
#define GLFW_WINGDIAPI_DEFINED
|
||||
#endif /* WINGDIAPI */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user