No, eso no me sirve porque tiene que ser en tiempo de compilacion tal como:
Código PHP:
#ifndef _WIN64
#error "Esta clase es para x64"
#else
#if defined _WIN10
#define POS_NTFLAGS 0xBC
#elif defined _WIN7
#define POS_NTFLAGS 0xBF
#elif defined _WIN8
#define POS_NTFLAGS 0xC0
#endif
#endif