Where is __LP64__ defined for default builds of C++ applications on OSX 10.6? -



Where is __LP64__ defined for default builds of C++ applications on OSX 10.6? -

i building 3rd-party library in 32-bit mode on osx 10.6 (the library xerces 2.8). have determined preprocessor definition __lp64__ set. however, far can see not beingness set within configuration files of 3rd-party project, , doing global search through files (via finder) #define __lp64__ not reveal me beingness defined system.

i building library via make @ command line (xcode not involved).

i know __lp64__ defined - , purpose is, given building project in 32-bit mode.

it's defined automatically compiler rather in header. if it's set, you're building 64-bit targets.

(a header could define if compiler hasn't already, though shouldn't. if think case, add together #define __lp64__ code, , @ error during preprocessing determine location of previous define.)

c++ osx make gnu-make

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -