summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-01-26 02:47:08 -0600
committerepoch <epoch@hacking.allowed.org>2017-01-26 02:47:08 -0600
commit16ed36684a8c3dbd62f619c196e2e9b0adabe884 (patch)
tree93df1864619095138693ef3b759d6c08ccb8c537 /src
parentaaad5c31463a909723ddcc94fe3626e82d2b8590 (diff)
downloadhackvr-16ed36684a8c3dbd62f619c196e2e9b0adabe884.tar.gz
hackvr-16ed36684a8c3dbd62f619c196e2e9b0adabe884.zip
I derped with the define
Diffstat (limited to 'src')
-rw-r--r--src/hackvr.c6
1 files changed, 3 insertions, 3 deletions
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);