diff options
author | michaelld | 2006-08-27 01:33:06 +0000 |
---|---|---|
committer | michaelld | 2006-08-27 01:33:06 +0000 |
commit | f1ae6ff27783dd482e16cc28dd8a64702235179f (patch) | |
tree | 916fb618c81392342a146d44d84e10b940e07f01 /gnuradio-core/src/lib | |
parent | 5d74416a0450e49807c7d66e00673d0b00a57e95 (diff) | |
download | gnuradio-f1ae6ff27783dd482e16cc28dd8a64702235179f.tar.gz gnuradio-f1ae6ff27783dd482e16cc28dd8a64702235179f.tar.bz2 gnuradio-f1ae6ff27783dd482e16cc28dd8a64702235179f.zip |
Hopeful fix for ticket:41 . On Mac-Intel only, forces x86 assembly
for Darwin and XCode to ignore the debugging pseudo-ops, as it already
does in XCode 2.2 and 2.3 but creates an error in XCode 2.4.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3432 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/filter/assembly.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/filter/assembly.h b/gnuradio-core/src/lib/filter/assembly.h index 9398a0a1e..ecf54e2fa 100644 --- a/gnuradio-core/src/lib/filter/assembly.h +++ b/gnuradio-core/src/lib/filter/assembly.h @@ -23,9 +23,18 @@ #ifndef _ASSEMBLY_H_ #define _ASSEMBLY_H_ +#if defined (__APPLE__) && defined (__APPLE_CC__) +// XCode ignores the .scl and .type functions in XCode 2.2.1 and 2.3, +// but creates an error in XCode 2.4. Just ignore them. -#ifndef __ELF__ +#define GLOB_SYMB(f) _ ## f + +#define DEF_FUNC_HEAD(f) /* none */ + +#define FUNC_TAIL(f) /* none*/ + +#elif !defined (__ELF__) /* * Too bad, the following define does not work as expected --SF |