Index: third_party/minicrt/puts.cc |
diff --git a/third_party/minicrt/puts.cc b/third_party/minicrt/puts.cc |
deleted file mode 100644 |
index 82e0f71692926adffdc4c8894f746532dda58b33..0000000000000000000000000000000000000000 |
--- a/third_party/minicrt/puts.cc |
+++ /dev/null |
@@ -1,17 +0,0 @@ |
-//========================================== |
-// LIBCTINY - Matt Pietrek 2001 |
-// MSDN Magazine, January 2001 |
-//========================================== |
-#include "libctiny.h" |
-#include <windows.h> |
-#include <stdio.h> |
- |
-extern "C" int __cdecl puts(const char * s) { |
- DWORD cbWritten; |
- HANDLE hStdOut = GetStdHandle( STD_OUTPUT_HANDLE ); |
- |
- WriteFile( hStdOut, s, lstrlen(s), &cbWritten, 0 ); |
- WriteFile( hStdOut, "\r\n", 2, &cbWritten, 0 ); |
- |
- return (int)(cbWritten ? cbWritten : EOF); |
-} |