I am having problems detecting Android platform.
It would be great, looking at documentation as it stands, if there was a defined pre-processor for android platforms.
Why is there no defined name for the Anroid platform?
I am running into complicated problems looking at Target$ isntead and trying to create a ?DEFINE myself but the code is being run even on say WIN32. argh...
anyone?
Defined names
The following symbols are defined by the editor:
GLB_DEBUG Debug mode is active
GLB_VERSION The version number of the compiler
GLB_CONSOLE Program is a console program
Platforms:
WIN32 Current platform is: Win32
OSXUNI Apple Mac OS-X
LINUX Linux x86
IPHONEiPhone, iPod Touch
WINCEWindows Mobile, Windows Phone, PocketPC
GP2XWIZGamepark Holding GP2X-Wiz
WIN32DLLWin32, DLL
GP2XGamepark holding GP2X (F100, F200)
XBOXLINUXLinux x86, software renderer
CAANOOGPH Caanoo device
Example:
?IF GLB_VERSION < 7.0
?ERROR Precprocessor not enabled

?ENDIF
?IF WIN32
?DEFINE FASTGFX
?ENDIF
?IF FASTGFX
STARTPOLY -1
POLYVECTOR 0, 0, 0,0, 0xffffff
POLYVECTOR 0,99, 0,0, 0xffffff
POLYVECTOR 99,99, 0,0, 0xffffff
ENDPOLY
?ELSE // slow graphics ->
DRRAWRECT 0,0,99,99, 0xffffff
?ENDIF