[Gridflow-cvs] [svn] commit: r4916 - /trunk/src/classes2.cxx

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Jan 24 12:30:16 EST 2010


Author: matju
Date: Sun Jan 24 12:30:16 2010
New Revision: 4916

Log:
win32

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sun Jan 24 12:30:16 2010
@@ -574,6 +574,7 @@
 }
 void ParallelPort_call(ParallelPort *self) {self->call();}
 void ParallelPort::call() {
+#ifndef __WIN32__
 	int flags;
 	if (ioctl(fd,LPGETFLAGS,&flags)<0) post("ioctl: %s",strerror(errno));
 	if (this->flags!=flags) outlet_float(outlets[2],flags);
@@ -583,6 +584,7 @@
 	if (this->status!=status) outlet_float(outlets[1],status);
 	this->status = status;
 	if (clock) clock_delay(clock,2000);
+#endif
 }
 \def 0 bang () {status = flags = 0xdeadbeef; call();}
 //outlet 0 reserved (future use)



More information about the Gridflow-cvs mailing list