MOS Source Code
Loading...
Searching...
No Matches
test_helpers.h
Go to the documentation of this file.
1/* Compatibility helpers for the test programs. */
2
3#ifndef _TEST_HELPERS_H_
4#define _TEST_HELPERS_H_
5
6#ifdef _WIN32
7#include <io.h>
8#include <fcntl.h>
9#define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
10
11#else
12#define SET_BINARY_MODE(file)
13
14#endif
15
16
17#endif