[pulseaudio-discuss] [PATCH 2/2] Move compile-time checks around pa_run_from_build_tree to core-util

Colin Guthrie gmane at colin.guthr.ie
Thu Mar 24 02:02:27 PDT 2011


'Twas brillig, and Maarten Bosmans at 22/03/11 15:06 did gyre and gimble:
> Is there a better way than
> #if defined(__linux__) && !defined(__OPTIMIZE__)
> to check for a debug build? By default the CFLAGS contain -g -O2, so
> __OPTIMIZE__ will not be defined and running uninstalled does not
> work.

Do you mean __OPTIMIZE__ *will* be defined?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list