Browse Source

dump basics to stdout on other platforms

Grant Limberg 5 năm trước cách đây
mục cha
commit
5090e95003
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      one.cpp

+ 2 - 0
one.cpp

@@ -1149,6 +1149,8 @@ static int cli(int argc,char **argv)
 		}
 		write(fd, dump.str().c_str(), dump.str().size());	
 		close(fd);
+#else
+	fprintf(stderr, "%s", dump.str().c_str());
 #endif
 
 		// fprintf(stderr, "%s\n", dump.str().c_str());