Computing.Net > Forums > Unix > 32 and 64 bit OS's

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

32 and 64 bit OS's

Reply to Message Icon

Name: hirandhir
Date: June 12, 2006 at 02:20:29 Pacific
OS: AIX, Sol and HPUX
CPU/Ram: sparc
Product: NA
Comment:

I have a C application which is to be supported on AIX, Solaris and HPUX.
There are chunks of code which need to #ifdef'd for 64 bit OS's only, i.e., I need these code to be executed only for 64 bit OS's on all the three platforms.
Can someone guide me how to do this. I tried using #ifdef _LP64 but it doesn't seem to work.

thanks,
hirandhir



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


changing col(1) command s... unix command in c



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: 32 and 64 bit OS's

64 bit OS www.computing.net/answers/unix/64-bit-os/2341.html

how to check the bits of HP Unix www.computing.net/answers/unix/how-to-check-the-bits-of-hp-unix/5964.html

ld:0706-006 cannot find or open lib www.computing.net/answers/unix/ld0706006-cannot-find-or-open-lib/6921.html