#ifndef _EXP_FIXES_H_
#define _EXP_FIXES_H_   100
//   _____________________________________________________________
//  /                                                             \ 
//  |   Fixes
//  \_____________________________________________________________/

#ifdef  AMIGA

    //  AMIGA OS 2.0 (old ROM beta-version) bug fix:
    //  system() doesn't work here and must be replaced by
    //  OS-call Execute(com,in,out):

#define system(x)   Execute(x,0,0)

#endif

//  AMIGA MAXON C++ Compiler fixes:
//  sometimes destructors are called multiple times on the SAME object.
//  to fix this, put DCL_DESTR into class declaration
//  and CHK_DESTR in destructor.

#define DCL_DESTR   char MXFix_destructed
#define CHK_DESTR   if(MXFix_destructed=='Y') return; else \
    MXFix_destructed='Y'

#endif  // not already included
