be, we can remove the last _set_fmode() calls.
SVN-Revision: 1204
(void)argc; /* UNUSED */
-#if defined(_WIN32) && !defined(__CYGWIN__)
- /* Make sure open() function will be used with a binary mode. */
- /* on cygwin, we need something similar, but instead link against */
- /* a special startup object, binmode.o */
- _set_fmode(_O_BINARY);
-#endif
/*
* Name of this program, used to build root of our temp directory
* tree.
#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__GNUC__)
/* To stop to run the default invalid parameter handler. */
_set_invalid_parameter_handler(invalid_parameter_handler);
- /* for open() to a binary mode. */
- /* This shouldn't be needed, because all tests should
- * explicitly use O_BINARY flag to open() and "b" to
- * fopen(): */
- /* _set_fmode(_O_BINARY); */
/* Disable annoying assertion message box. */
_CrtSetReportMode(_CRT_ASSERT, 0);
#endif
#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__GNUC__)
/* To stop to run the default invalid parameter handler. */
_set_invalid_parameter_handler(invalid_parameter_handler);
- /* for open() to a binary mode. */
- /* This shouldn't be needed, because all tests should
- * explicitly use O_BINARY flag to open() and "b" to
- * fopen(): */
- /* _set_fmode(_O_BINARY); */
/* Disable annoying assertion message box. */
_CrtSetReportMode(_CRT_ASSERT, 0);
#endif