mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +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
1852fbd6b1
commit
1d6a599be7
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>
|
||||
|
||||
* Headers/Foundation/NSError.h
|
||||
|
|
|
@ -117,9 +117,14 @@ extern "C" {
|
|||
* by an application.
|
||||
*/
|
||||
|
||||
/* weak attributed supported only with ELF, MINGW is COFF */
|
||||
#ifndef __MINGW32__
|
||||
|
||||
void *_Block_copy(void *) __attribute__((weak));
|
||||
void _Block_release(void *) __attribute__((weak));
|
||||
|
||||
#endif /* __MINGW32__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue