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
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CLANG_COMPAT_H
|
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-05-14 16:06:58 +02:00
|
|
|
#undef HTONS
|
|
|
|
#undef HTONL
|
|
|
|
#undef HTONLL
|
|
|
|
#undef NTOHS
|
|
|
|
#undef NTOHL
|
|
|
|
#undef NTOHLL
|
|
|
|
|
2014-10-13 10:53:20 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-05-14 16:06:58 +02:00
|
|
|
#endif
|