// Author: Jean GAUTIER
// <jga@cobrax>
+#ifndef WNT
#include <stream.h>
+#endif
#include <WOKTools_Error.ixx>
+#ifndef WNT
#include <stream.h>
+#endif
#include <WOKTools_Info.ixx>
myargv : ArgTable from WOKTools;
mydefines : HSequenceOfDefine from WOKTools;
mymore : Boolean from Standard;
- mycuropt : Character from Standard;
+ mycuropt : Byte from Standard;
mycurarg : HAsciiString from TCollection;
mycurlistarg : HSequenceOfHAsciiString from TColStd;
myargs : HSequenceOfHAsciiString from TColStd;
Next();
// s'il il n'y a qu'une option
- if(mycuropt == EOF)
+ if(mycuropt == (Standard_Byte ) EOF)
mymore = Standard_False;
}
mycuropt = getopt(myargc, myargv, myoptions->ToCString());
- if(mycuropt == EOF)
+ if(mycuropt == (Standard_Byte ) EOF)
{
for( ; (optind < myargc) && (myargv[optind][0] != '-'); optind++)
{
if (myerrflg) // vider
{
- Standard_Character acuropt = '\0';
- while(acuropt != EOF)
+// Standard_Character acuropt = '\0';
+ Standard_Byte acuropt = 0;
+ while(acuropt != (Standard_Byte ) EOF)
acuropt = getopt(myargc, myargv, myoptions->ToCString());
}
Standard_Integer myargc;
WOKTools_ArgTable myargv;
Handle_WOKTools_HSequenceOfDefine mydefines;
+ Standard_Byte mycuropt;
Standard_Boolean mymore;
- Standard_Character mycuropt;
Handle_TCollection_HAsciiString mycurarg;
Handle_TColStd_HSequenceOfHAsciiString mycurlistarg;
Handle_TColStd_HSequenceOfHAsciiString myargs;
// Author: Jean GAUTIER
// <jga@cobrax>
+#ifdef WNT
+#include <io.h>
+#else
#include <stream.h>
#include <unistd.h>
+#endif
#include <WOKTools_Verbose.ixx>
// Author: Jean GAUTIER
// <jga@cobrax>
+#ifndef WNT
#include <stream.h>
+#endif
#include <WOKTools_Warning.ixx>