Add 'CAN-binder/libs/nanopb/' from commit '278ffb890e3d8722e4c7d824baaf221a1e375fc4'
[apps/agl-service-can-low-level.git] / CAN-binder / libs / nanopb / tests / common / test_helpers.h
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