* libc/include/math.h: Use appropriate dll import linkage for Cygwin.
This commit is contained in:
@ -21,7 +21,11 @@ union __dmath
|
||||
double d;
|
||||
};
|
||||
|
||||
#if !defined(__CYGWIN__) || defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB)
|
||||
extern const union __dmath __infinity;
|
||||
#else
|
||||
extern __declspec(dllimport) const union __dmath __infinity;
|
||||
#endif
|
||||
|
||||
#define HUGE_VAL (__infinity.d)
|
||||
|
||||
|
Reference in New Issue
Block a user