mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-06 22:40:36 +08:00
* include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
This commit is contained in:
parent
ebb73170e8
commit
ce5435df0b
@ -1,3 +1,7 @@
|
|||||||
|
2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
|
||||||
|
|
||||||
2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
|
2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
|
* mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
|
||||||
|
@ -55,13 +55,16 @@
|
|||||||
#else /* __GNUC__ */
|
#else /* __GNUC__ */
|
||||||
# ifdef __declspec
|
# ifdef __declspec
|
||||||
# ifndef __MINGW_IMPORT
|
# ifndef __MINGW_IMPORT
|
||||||
|
|
||||||
/* Note the extern. This is needed to work around GCC's
|
/* Note the extern. This is needed to work around GCC's
|
||||||
limitations in handling dllimport attribute. */
|
limitations in handling dllimport attribute. */
|
||||||
# define __MINGW_IMPORT extern __attribute__((dllimport))
|
# define __MINGW_IMPORT extern __attribute__((dllimport))
|
||||||
# endif
|
# endif
|
||||||
# ifndef _CRTIMP
|
# ifndef _CRTIMP
|
||||||
|
# ifdef __USE_CRTIMP
|
||||||
# define _CRTIMP __attribute__((dllimport))
|
# define _CRTIMP __attribute__((dllimport))
|
||||||
|
# else
|
||||||
|
# define _CRTIMP
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# define __DECLSPEC_SUPPORTED
|
# define __DECLSPEC_SUPPORTED
|
||||||
# else /* __declspec */
|
# else /* __declspec */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user