Hello,
here is a small correction for the alloca:

If you use the XL C/C++ compiler then you do not need to include the
alloca.h on AIX:

# svn diff
Index: rxunixsys.h
===================================================================
--- rxunixsys.h (revision 6196)
+++ rxunixsys.h (working copy)
@@ -60,7 +60,9 @@
 #include <time.h>
 #include <netdb.h>
 #include <wordexp.h>
+#if !defined(AIX)
 #include <alloca.h>
+#endif
 #include <pthread.h>
 #include <errno.h>
 #include <dirent.h>
Index: rxunixsys.cpp
===================================================================
--- rxunixsys.cpp       (revision 6196)
+++ rxunixsys.cpp       (working copy)
@@ -941,6 +941,7 @@
 }


+#if !defined (AIX)
 /**
  * Method:        SysEuidaccess
  *
@@ -960,8 +961,8 @@

     return euidaccess(file, option);
 }
+#endif

-
 /**
  * Method:        SysGetservbyname
  *
@@ -1708,7 +1709,9 @@
     REXX_TYPED_ROUTINE(SysGetgrgid, SysGetgrgid),
     REXX_TYPED_ROUTINE(SysStat, SysStat),
     REXX_TYPED_ROUTINE(SysAccess, SysAccess),
+#if !defined (AIX)
     REXX_TYPED_ROUTINE(SysEuidaccess, SysEuidaccess),
+#endif
     REXX_TYPED_ROUTINE(SysGetservbyname, SysGetservbyname),
     REXX_TYPED_ROUTINE(SysGetservbyport, SysGetservbyport),
     REXX_TYPED_ROUTINE(SysWordexp, SysWordexp),


Bye
  Rainer


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to