]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Add macro definitions that make it possible to do cpu/os/both
authorJulian Seward <jseward@acm.org>
Mon, 2 May 2005 10:25:34 +0000 (10:25 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 2 May 2005 10:25:34 +0000 (10:25 +0000)
commit5496e4553bc00a73d1b7459c9fa978a4f19085e8
tree57c9009fed2cfc2defeb7d374c44511184413755
parent2275f4f69bbcf8c7b57283c4fcaf7bf01b12efd8
Add macro definitions that make it possible to do cpu/os/both
ifdeffery in a sane way where it's absolutely unavoidable.  When
building the core, eg on amd64-linux, the following preprocessor
symbols are defined:

   VGA_amd64
   VGO_linux
   VGP_amd64_linux

etc on other platforms.

Also, include/basic_types.h now defines VG_WORDSIZE and this is what
should be used for ifdefs that need to know the host word size.

ifdefs based on the C compilers built-ins such as __amd64__ etc
are deprecated and will be done away with.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3590
Makefile.core-AM_CPPFLAGS.am
coregrind/Makefile.am
include/basic_types.h