'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/]