Code Review
/
apps
/
agl-service-can-low-level.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix build failure due to missing dependency in SConscript
[apps/agl-service-can-low-level.git]
/
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