[PD-cvs] externals/grill/flext/source flcontainers.h,1.7,1.8

Thomas Grill xovo at users.sourceforge.net
Wed Jul 6 21:48:34 CEST 2005


Update of /cvsroot/pure-data/externals/grill/flext/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1702/source

Modified Files:
	flcontainers.h 
Log Message:
fix for 64 bit code


Index: flcontainers.h
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flcontainers.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** flcontainers.h	6 Jul 2005 16:08:19 -0000	1.7
--- flcontainers.h	6 Jul 2005 19:48:31 -0000	1.8
***************
*** 181,186 ****
  	    return n;
      }
! #elif defined(__GNUC__) && FLEXT_CPU == FLEXT_CPU_X86_64
  /* attention - this only works for EMT64 or newer revisions of AMD 64-bit cpus */
  
      inline void Push(Cell *cl) 
--- 181,193 ----
  	    return n;
      }
! #elif 0 //defined(__GNUC__) && FLEXT_CPU == FLEXT_CPU_X86_64
  /* attention - this only works for EMT64 or newer revisions of AMD 64-bit cpus */
+     #ifndef SMPLOCK
+     # ifdef __SMP__
+     #  define SMPLOCK "lock ; "
+     # else
+     #  define SMPLOCK ""
+     # endif
+     #endif
  
      inline void Push(Cell *cl) 





More information about the Pd-cvs mailing list