diff options
Diffstat (limited to 'src/common/testsupport.h')
-rw-r--r-- | src/common/testsupport.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/common/testsupport.h b/src/common/testsupport.h new file mode 100644 index 0000000000..621fd8c833 --- /dev/null +++ b/src/common/testsupport.h @@ -0,0 +1,14 @@ +/* Copyright (c) 2013, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +#ifndef TOR_TESTSUPPORT_H +#define TOR_TESTSUPPORT_H + +#ifdef TOR_UNIT_TESTS +#define STATIC_UNLESS_TESTING +#else +#define STATIC_UNLESS_TESTING static +#endif + +#endif + |