Hi!
On Jan 10, Davi Arnaut wrote:
> Sergei Golubchik wrote:
> > On Jan 08, Davi Arnaut wrote:
> >> ChangeSet@stripped, 2008-01-08 12:06:54-02:00, davi@stripped +3 -0
> >> Bug#33728 Atomic builtins
> >
> >> +if test "x$mysql_cv_atomic_builtins" = xyes; then
> >> + AC_DEFINE(HAVE_ATOMIC_BUILTINS, 1,
> >
> > please rename to HAVE_GCC_ATOMIC_BUILTINS
>
> Hum, OK. But, fwiw, it's not GCC specific.. it's also available on ICC
> and other compilers.
Right, but ICC tries to be gcc-compatible, to a certain extent.
Other compilers may have a completely different set of atomic builtins,
e.g. MSVC has Intrinsic* family of functions (of course, we don't use
configure for MSVC, but it's just an example).
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Developer
/_/ /_/\_, /___/\___\_\___/ MySQL GmbH, Dachauer Str. 37, D-80335 München
<___/ Geschäftsführer: Kaj Arnö - HRB
München 162140