=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/include/ox.h,v retrieving revision 1.21 retrieving revision 1.23 diff -u -p -r1.21 -r1.23 --- OpenXM_contrib2/asir2000/include/ox.h 2004/01/25 11:54:09 1.21 +++ OpenXM_contrib2/asir2000/include/ox.h 2010/04/23 04:44:52 1.23 @@ -45,7 +45,7 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/include/ox.h,v 1.20 2003/12/11 05:48:04 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/include/ox.h,v 1.22 2007/02/18 05:36:28 ohara Exp $ */ #include "com.h" @@ -145,6 +145,9 @@ #define SM_nop 300 +/* local SM command in ox_asir */ +#define SM_executeFunctionSync 400 + #define SM_control_kill 1024 #define SM_control_intr 1025 #define SM_control_reset_connection 1030 @@ -154,7 +157,7 @@ typedef FILE *ox_stream; /* a macro to check whether data are available in the read buffer */ #if defined(linux) #define FP_DATA_IS_AVAILABLE(fp) ((fp)->_IO_read_ptr < (fp)->_IO_read_end) -#elif defined(__FreeBSD__) || (defined(__MACH__) && defined(__ppc__)) || defined(__CYGWIN__) || defined(__INTERIX) +#elif defined(__FreeBSD__) || defined(__DARWIN__) || (defined(__MACH__) && defined(__ppc__)) || defined(__CYGWIN__) || defined(__INTERIX) #define FP_DATA_IS_AVAILABLE(fp) ((fp)->_r) #elif defined(sparc) || defined(__alpha) || defined(__SVR4) || defined(mips) || defined(_IBMR2) #define FP_DATA_IS_AVAILABLE(fp) ((fp)->_cnt)