mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +00:00
Do not enable weak on mingw, because it works only with ELF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39009 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
08f11033ee
commit
deba4a80da
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2015-09-22 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
|
* Headers\GNUstepBase\GSBlocks.h
|
||||||
|
Do not enable weak on mingw, because it works only with ELF.
|
||||||
|
|
||||||
2015-09-18 Riccardo Mottola <rm@gnu.org>
|
2015-09-18 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
* Headers/Foundation/NSError.h
|
* Headers/Foundation/NSError.h
|
||||||
|
|
|
@ -117,9 +117,14 @@ extern "C" {
|
||||||
* by an application.
|
* by an application.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* weak attributed supported only with ELF, MINGW is COFF */
|
||||||
|
#ifndef __MINGW32__
|
||||||
|
|
||||||
void *_Block_copy(void *) __attribute__((weak));
|
void *_Block_copy(void *) __attribute__((weak));
|
||||||
void _Block_release(void *) __attribute__((weak));
|
void _Block_release(void *) __attribute__((weak));
|
||||||
|
|
||||||
|
#endif /* __MINGW32__ */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue