I need to hide a function if product version 4.3.0 or lower is being used. A macro has been defined that I can use for this case as:

Code:
#define PRODUCT_VERSION   ((PRODUCT_MAJOR_VERSION << 16) + (PRODUCT_MINOR_VERSION << 8) + PRODUCT_BUILDNUMBER)

I've printed the PRODUCT_VERSION for version 4.3.1 to console and seen that it translates to 262913 so I've used that number in a #if as shown below which is a working solution to my problem but it's also a bad and ugly solution. Is there a better way to work with this macro?

Code:
#if PRODUCT_VERSION>=262913
    void troublesomefunction()
    {
        //code
    }
#endif