Hack for bad APPLE assembler
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Sep 2003 16:04:04 +0000 (16:04 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Sep 2003 16:04:04 +0000 (16:04 +0000)
HIJING/hijing/ludat1_hijing.inc
MEVSIM/multiplicity_gen.F
PDF/pdf/pilot.h
PYTHIA6/openDecayTable.F
RAW/AliRawEvent.cxx

index 570ed24f3dd55f45e2d835ce1ca1412e7cb17936..a6306dbe83d93686c9cc04ca4e880ade4dcc4866 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef __APPLE__
+#define STOP CALL EXIT !
+#define stop CALL EXIT !
+#endif
 * $Id$
       REAL PARU, PARJ
       COMMON/LUDAT1_HIJING/MSTU(200),PARU(200),MSTJ(200),PARJ(200) 
index 23aa4bdd404908adfaafe0d6296237213b1e80c8..c2872e879fc5ebd24e29bbabcc75a085280244d5 100644 (file)
@@ -1,3 +1,10 @@
+#ifdef __APPLE__
+#define STOP CALL EXIT !
+#define stop CALL EXIT !
+#endif
+      subroutine ah
+      STOP
+      end
 C      Program Mult_Gen
        SUBROUTINE multgen
       implicit none
index fe6c43865cfd0e22e6e375b97ac57b894e647360..dfd4277c4a9e1c21b1e2a549fe6608d37ba061d3 100644 (file)
@@ -7,3 +7,7 @@
 #define CERNLIB_DOUBLE
 #endif
 #endif
+#ifdef __APPLE__
+#define stop CALL EXIT !
+#define STOP CALL EXIT !
+#endif
index b05b37d1f9c8481ccf152ab4372b4bba2e423988..9cbe547e88e233e1519c7e471350ab8676724a74 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef __APPLE__
+#define stop CALL EXIT !
+#define STOP CALL EXIT !
+#endif
       SUBROUTINE OPENDECAYTABLE(LUN)
       LOGICAL OPENED,EXISTS
       LOGICAL LRMSCH, LRD1O2, LTRASP
index 7b21d5403bd67520744c9562ff06c8983ce57126..441f08bf3129279da9700a4f7449fe1501402562 100644 (file)
@@ -7,8 +7,13 @@
 #if defined(__DECCXX)
 #include <sys/statvfs.h>
 #else
+#if defined(__APPLE__)
+#include <sys/param.h>
+#include <sys/mount.h>
+#else
 #include <sys/vfs.h>
 #endif
+#endif
 #include <unistd.h>
 #include <stdlib.h>
 #include <fcntl.h>
@@ -22,6 +27,9 @@
 #include <TSQLServer.h>
 #include <TSQLResult.h>
 
+#if defined(__APPLE__)
+#undef Free
+#endif
 #include "AliRawEvent.h"
 
 // Good for Linux