working NDK
In order to build with MaxonC++/HiSoftC++ compilers a portable source-code
the pragma-files have to be changed.
In addition, once this program has done its work, SAS/S (f.e.) source-code
can be used without editing the head of the source-code (normally the area
where to find the include-directives).
Often you would encode pragmas with MaxonC++ like this:
#if !defined(__MAXON__)
#include <pragmas/exec_pragmas.h>
#include <pragmas/graphics_pragmas.h>
#include <pragmas/intuition_pragmas.h>
#include <pragmas/gadtools_pragmas.h>
#include <pragmas/dos_pragmas.h>
#include <pragmas/asl_pragmas.h>
#include <pragmas/wb_pragmas.h>
#include <pragmas/icon_pragmas.h>
#include <pragmas/diskfont_pragmas.h>
#include <pragmas/locale_pragmas.h>
#include <pragmas/rexxsyslib_pragmas.h>
#else
#include <pragma/exec_lib.h>
#include <pragma/graphics_lib.h>
#include <pragma/intuition_lib.h>
#include <pragma/gadtools_lib.h>
#include <pragma/dos_lib.h>
#include <pragma/asl_lib.h>
#include <pragma/wb_lib.h>
#include <pragma/icon_lib.h>
#include <pragma/diskfont_lib.h>
#include <pragma/locale_lib.h>
#include <pragma/rexxsyslib_lib.h>
#endif
Now, after Detour has modified these files, you can use this instead:
#include <proto/exec.h>
#include <proto/graphics.h>
#include <proto/intuition.h>
#include <proto/gadtools.h>
#include <proto/dos.h>
#include <proto/asl.h>
#include <proto/wb.h>
#include <proto/icon.h>
#include <proto/diskfont.h>
#include <proto/locale.h>
#include <proto/rexxsyslib.h>
|