Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mono for Android preprocessor macros

Is there an Android preprocessor macros that Mono for Android defines?

I mean very useful things for cross-platform development like:

#if WINDOWS...#endif 

and

#if WINDOWS_PHONE...#endif
like image 400
user306080 Avatar asked Oct 27 '11 14:10

user306080


1 Answers

__ANDROID__

and additionally for each Android API Level:

__ANDROID_4__;__ANDROID_7__;__ANDROID_8__;etc
like image 86
jpobst Avatar answered Oct 16 '22 10:10

jpobst