it's declared by the build system. You can also try HAVE_ANDROID_OS which is
declared in AndroidConfig.h which is automatically included by the build
system too before any other file.

On Mon, Jun 15, 2009 at 1:14 PM, shiva <[email protected]> wrote:

>
> Hmm Ok Thanks for your reply. In which file, it will be declared??
>
> On Jun 15, 12:50 am, David Turner <[email protected]> wrote:
> > Use "ANDROID":-)
> >
> > On Sat, Jun 13, 2009 at 6:28 AM, shiva <[email protected]> wrote:
> >
> > > Hi all...
> >
> > > I have a C++ code, which i am porting on Android.
> > > This code actually made for Windows system. So, there are many Windows
> > > specific header files are used.
> > > So, i want to build same code on Android with conditional compilation
> > > using OS bases pre processor macros.
> > > As windows have WIN32 and Symbain nave __SYMBIAN32__. For Android,
> > > what i can use????
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to