Finally remove last old C style I/O stuff
[stockfish] / src / main.cpp
index bd4958d92043fca396a00a01a3f4ffe3658a10e9..e89fee0ed80e0bc2ea49a6789fd79689111b8a1e 100644 (file)
@@ -21,7 +21,6 @@
 //// Includes
 ////
 
-#include <cstdlib>
 #include <iostream>
 
 #include "benchmark.h"
@@ -48,8 +47,6 @@ using std::string;
 int main(int argc, char *argv[]) {
 
   // Disable IO buffering
-  setbuf(stdin, NULL);
-  setbuf(stdout, NULL);
   std::cout.rdbuf()->pubsetbuf(NULL, 0);
   std::cin.rdbuf()->pubsetbuf(NULL, 0);