=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/include/com.h,v retrieving revision 1.3 retrieving revision 1.14 diff -u -p -r1.3 -r1.14 --- OpenXM_contrib2/asir2000/include/com.h 2000/08/21 08:31:36 1.3 +++ OpenXM_contrib2/asir2000/include/com.h 2018/03/29 01:32:53 1.14 @@ -23,7 +23,7 @@ * shall be made on your publication or presentation in any form of the * results obtained by use of the SOFTWARE. * (4) In the event that you modify the SOFTWARE, you shall notify FLL by - * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification + * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification * for such modification or the source code of the modified part of the * SOFTWARE. * @@ -45,22 +45,32 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/include/com.h,v 1.2 2000/03/10 06:42:22 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/include/com.h,v 1.13 2015/08/14 13:51:55 fujimoto Exp $ */ #ifndef _COM_H_ #define _COM_H_ -#if defined(VISUAL) || MPI +#if defined(VISUAL) || defined(__MINGW32__) || defined(MPI) #include "wsio.h" #endif #include -#if !defined(VISUAL) +#if !defined(VISUAL) && !defined(__MINGW32__) #include +#if defined(__CYGWIN__) +#include +#include +#include +#define IS_CYGWIN 1 +#else #include #include #include +#define IS_CYGWIN 0 +#endif #include +#else +#define IS_CYGWIN 0 #endif #define N32 0x80 @@ -77,11 +87,12 @@ #define C_PRIV C_ENDARG+1 #define C_SHUTDOWN 6 -#if defined(VISUAL) || MPI +#if defined(VISUAL) || defined(__MINGW32__) || defined(MPI) struct IOFP { - STREAM *in,*out; - int s,conv; - char *socket; + STREAM *in,*out; + char *inbuf,*outbuf; + int s,conv; + char *socket; }; void ws_loadv(STREAM *,V *); @@ -92,9 +103,10 @@ V ws_load_convv(int); int ws_save_convv(V); #else struct IOFP { - FILE *in,*out; - int s,conv; - char *socket; + FILE *in,*out; + char *inbuf,*outbuf; + int s,conv; + char *socket; }; #endif #endif /* _COM_H_ */