Skip navigation
Currently Being Moderated

InDesign CS6 SDK macro RezLong

May 15, 2012 2:48 AM

Hi,

When I use the prepreocessor line

 

#if kMajorVersionNumber == 7

 

and compile on VC or Xcode, then I get an error from the preprocessor. On Mac the error is:

 

missing binary operator before token "0"


When I replace

 

#define RezLong(n) ((int32)0 + n)

 

in CrossPlatformTypes.h with the version from SDK CS 5.5

 

#define RezLong(n) (0L + n)

 

then it compiles without error.

Is there an idea how these macros from the CS6 SDK can be used without error ?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points