Pages vues depuis 06/01/2019 : 13 210 383
Index du forum »» Développement »» Multi platform C ifdef definitions
// *********************************************************************************
/* Multi Platform Compatible AllocVec */
void * MyAllocVec( int MyVecSize, int MODE ){
void *pict = NULL;
#if defined( __amiga__ )
#if defined( __amigaos4__ )
pict = IExec->AllocVec( MyVecSize, MODE );
#elif defined( __MORPHOS__ )
pict = AllocVec( MyVecSize, MODE );
#else
/* Other AmigaS OSes !!!!!include!!!!!s */
#endif
#endif
return pict;
}