#define for spark?

(Sorry if this has been covered. It’s hard to search the forums for this, and I couldn’t find anything in the documentation.)

Is there a #define in the preprocessor for spark, to determine if we’re compiling for spark (as opposed to windows or linux)? Maybe something like:

#define _SPARK        1

Thanks.

Hey @Raldus, this thread discusses this concept in more detail: https://community.spark.io/t/unified-libraries/2785/5

1 Like