From 16ed36684a8c3dbd62f619c196e2e9b0adabe884 Mon Sep 17 00:00:00 2001 From: epoch Date: Thu, 26 Jan 2017 02:47:08 -0600 Subject: I derped with the define --- src/hackvr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hackvr.c') diff --git a/src/hackvr.c b/src/hackvr.c index 5c0d0b8..f708e65 100644 --- a/src/hackvr.c +++ b/src/hackvr.c @@ -100,13 +100,13 @@ int load_stdin() { int i;//used to store the last triangle. even though I have a global for that. >_> // printf("# entering load_stdin()\n"); -#ifdef _HACKVR_USE_NONBLOCK_ +//#ifdef _HACKVR_USE_NONBLOCK_ for(i=0;global.shape[i];i++) ;//hop to the end. fcntl(0,F_SETFL,O_NONBLOCK); if(feof(stdin)) { clearerr(stdin); } -#else +//#else /* readfs=master; timeout.tv_sec=0; timeout.tv_usec=1; @@ -115,7 +115,7 @@ int load_stdin() { return 0; } if(FD_ISSET(0,&readfs)) {*/ -#endif +//#endif while((line=read_line_hack(stdin,0))) {//load as long there's something to load if(*line == '#') return 0; // printf("# read command: %s\n",line); -- cgit v1.2.3