commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r3385 - gnuradio/branches/developers/michaelld/ticket4


From: michaelld
Subject: [Commit-gnuradio] r3385 - gnuradio/branches/developers/michaelld/ticket41/gnuradio-core/src/lib/filter
Date: Wed, 23 Aug 2006 15:26:00 -0600 (MDT)

Author: michaelld
Date: 2006-08-23 15:25:59 -0600 (Wed, 23 Aug 2006)
New Revision: 3385

Modified:
   
gnuradio/branches/developers/michaelld/ticket41/gnuradio-core/src/lib/filter/assembly.h
Log:
Possible fix for ticket:41 .



Modified: 
gnuradio/branches/developers/michaelld/ticket41/gnuradio-core/src/lib/filter/assembly.h
===================================================================
--- 
gnuradio/branches/developers/michaelld/ticket41/gnuradio-core/src/lib/filter/assembly.h
     2006-08-23 21:21:47 UTC (rev 3384)
+++ 
gnuradio/branches/developers/michaelld/ticket41/gnuradio-core/src/lib/filter/assembly.h
     2006-08-23 21:25:59 UTC (rev 3385)
@@ -23,10 +23,19 @@
 #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
  *     #define GLOB_SYMB(f)    __USER_LABEL_PREFIX__ ## f





reply via email to

[Prev in Thread] Current Thread [Next in Thread]