Skip to content
Snippets Groups Projects
Commit becfd63b authored by Neil Jones's avatar Neil Jones
Browse files

sys: Extend MIPS temporary work around to all mips targets.

Extened the temporary workaround for mips boards to all mips boards
until pr#6639 is merged.
parent c4d28cb5
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,10 @@
* @see http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html
*/
/** @todo Remove ifdef BOARD_MIPS_MALTA special case after
/** @todo Remove ifdef __mips__ special case after
* [#6639](https://github.com/RIOT-OS/RIOT/pull/6639) is merged */
#ifndef DOXYGEN
#if defined(CPU_NATIVE) || MODULE_NEWLIB || defined(BOARD_MIPS_MALTA)
#if defined(CPU_NATIVE) || MODULE_NEWLIB || defined(__mips__)
/* If building on native or newlib we need to use the system header instead */
#pragma GCC system_header
/* without the GCC pragma above #include_next will trigger a pedantic error */
......
......@@ -22,9 +22,9 @@
#define SYS_STATVFS_H_
#include <sys/types.h> /* for fsblkcnt_t, fsfilcnt_t */
/** @todo Remove ifdef BOARD_MIPS_MALTA special case after
/** @todo Remove ifdef __mips__ special case after
* [#6639](https://github.com/RIOT-OS/RIOT/pull/6639) is merged */
#if MODULE_NEWLIB || defined(BOARD_MIPS_MALTA)
#if MODULE_NEWLIB || defined(__mips__)
/* newlib support for fsblkcnt_t was only recently added to the newlib git
* repository, commit f3e587d30a9f65d0c6551ad14095300f6e81672e, 15 apr 2016.
* Will be included in release 2.5.0, around new year 2016/2017.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment