The friendly Operating System for the Internet of Things
clang_compat.h
1 /*
2  * clang_compat.h Undefines macros of clang on OSX to use RIOT's macros
3  *
4  * Copyright (C) 2014 Thomas Eichinger <thomas.eichinger@fu-berlin.de>
5  *
6  * This file is subject to the terms and conditions of the GNU Lesser
7  * General Public License v2.1. See the file LICENSE in the top level
8  * directory for more details.
9  */
10 
11 #ifndef CLANG_COMPAT_H
12 #define CLANG_COMPAT_H
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #undef HTONS
19 #undef HTONL
20 #undef HTONLL
21 #undef NTOHS
22 #undef NTOHL
23 #undef NTOHLL
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* CLANG_COMPAT_H */