mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7a031e5669
undefine macros and reorder header includes to get rid of system defined macros on OS X fixes #1165
21 lines
437 B
C
21 lines
437 B
C
/*
|
|
* clang_compat.h Undefines macros of clang on OSX to use RIOT's macros
|
|
*
|
|
* Copyright (C) 2014 Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser General
|
|
* Public License. See the file LICENSE in the top level directory for more
|
|
* details.
|
|
*/
|
|
|
|
#ifndef __CLANG_COMPAT_H
|
|
|
|
#undef HTONS
|
|
#undef HTONL
|
|
#undef HTONLL
|
|
#undef NTOHS
|
|
#undef NTOHL
|
|
#undef NTOHLL
|
|
|
|
#endif
|