Dan Widyono on 26 Apr 2004 21:01:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] #define for 32 vs 64 bit C program?


Would __GLIBC_HAVE_LONG_LONG suffice?  I looked for 64 in
/usr/include/sys/*.h.  NO IDEA if this is the "recommended way"...

Dan W.

> Does anyone know of a gcc preprocessor directive that will tell whether a
> source file is being compiled for 32 or 64 bits?
-- 
-- Daniel Widyono             --
-- www.widyono.net            --
-- www.cis.upenn.edu/~widyono --
-- 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug