preprocessor directives [SOLVED]
-
On 18/05/2016 at 05:49, xxxxxxxx wrote:
User Information:
Cinema 4D Version: r15-r17
Platform: Windows ; Mac ;
Language(s) : C++ ;---------
Is there a list with preprocessor directives / options?
I like to distinct between mac and pc.For example:
#if MAC #include "mac.h" #else _<_o:p_>_#include "pc.h" #endif
-
On 18/05/2016 at 06:49, xxxxxxxx wrote:
e.g.
#ifdef __APPLE__
-
On 18/05/2016 at 06:52, xxxxxxxx wrote:
Howdy,
Look in the header "ge_sys_math.h". You'll find those OS platform defines.
Adios,
Cactus Dan -
On 19/05/2016 at 01:43, xxxxxxxx wrote:
Hello,
a list of common compiler macros can be found online.
Best wishes,
Sebastian -
On 19/05/2016 at 02:24, xxxxxxxx wrote:
Great info and support, thanks all.