Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / #ifdef AGKWINDOWS etc

Author
Message
polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 6th Jun 2012 13:51 Edited at: 6th Jun 2012 15:40
What are the defines to check for that allow us to know which platform we are compiling on?
I know there is AGKWINDOWS, is there an AGKBLACKBERRY, AGKANDROID, AGKIOS etc?

Blackberry App Development & ZX Spectrum Game Development.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 6th Jun 2012 17:55
Based on interpreter.cpp and common.h:

Android - IDE_ANDROID
Mac - IDE_MAC
iOS - AGKIOS
Bada - IDE_BADA
Meego - IDE_MEEGO
Windows - AGKWINDOWS
Blackberry - IDE_BLACKBERRY

Also defined for compilers:
Visual Studio - IDE_VS2008
Xcode - IDE_XCODE

Cheers,
Ancient Lady
polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 6th Jun 2012 17:57
ahh, thank you AL

Blackberry App Development & ZX Spectrum Game Development.

Login to post a reply

Server time is: 2024-11-23 14:59:54
Your offset time is: 2024-11-23 14:59:54