-#if defined(__WXMAC__) && !defined(__DARWIN__)
- Ptr symAddress;
- CFragSymbolClass symClass;
- Str255 symName;
-#if TARGET_CARBON
- c2pstrcpy( (StringPtr) symName, name.fn_str() );
-#else
- strcpy( (char *)symName, name.fn_str() );
- c2pstr( (char *)symName );
-#endif
- if( FindSymbol( m_handle, symName, &symAddress, &symClass ) == noErr )
- symbol = (void *)symAddress;
-#elif defined(__WXPM__) || defined(__EMX__)