mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
make objc2 compatibility code compile on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29674 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8d72e6f951
commit
42143bb921
5 changed files with 97 additions and 9 deletions
|
@ -200,6 +200,16 @@ struct StackBlockClass {
|
|||
const char *types;
|
||||
};
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
/* FIXME ... evil hack ... declare symbol to avoid linker error on windows
|
||||
* where the compiler/linker doesn't support a weak reference.
|
||||
* This obviously breaks the code below...
|
||||
*/
|
||||
# if (__GNUC__ <= 3)
|
||||
void *_NSConcreteStackBlock;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Copy a block to the heap if it's still on the stack or
|
||||
* increments its retain count.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue