2014-05-14 16:06:58 +02:00
|
|
|
/*
|
|
|
|
* clang_compat.h Undefines macros of clang on OSX to use RIOT's macros
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
|
|
|
*
|
2014-08-23 15:43:13 +02:00
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
2014-05-14 16:06:58 +02:00
|
|
|
*/
|
|
|
|
|
2016-06-10 17:43:21 +02:00
|
|
|
#ifndef CLANG_COMPAT_H
|
|
|
|
#define CLANG_COMPAT_H
|
2014-05-14 16:06:58 +02:00
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-04-13 11:35:35 +02:00
|
|
|
#undef htons
|
|
|
|
#undef htonl
|
|
|
|
#undef htonll
|
|
|
|
#undef ntohs
|
|
|
|
#undef ntohl
|
|
|
|
#undef ntohll
|
2014-05-14 16:06:58 +02:00
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2016-06-10 17:43:21 +02:00
|
|
|
#endif /* CLANG_COMPAT_H */
|