mbed-os/libraries/mbed
Adam Green 55ce47f951 Fix issue #1599
My previous commit, c6d2c81, broke Keil builds and maybe even IAR.

I need to learn how to read C code :)  I thought I was masking off the
O_BINARY bit only for GCC builds but it turns out that my update was
in the fall-through case for all toolchains.  This commit now places
the O_BINARY masking operation into a GCC specific #ifdef clause.

Testing:
I tested the same fopen("/local/out.txt","rb") code as before but this
time I built it with the online compiler and GCC_ARM. I tested the
resulting binaries on mbed-LPC11U24 and mbed-LPC1768 boards.

Thanks to @neilt6 for catching & reporting this!
2016-03-18 15:13:57 +01:00
..
api mbed lib revision - 115 2016-03-18 15:13:57 +01:00
common Fix issue #1599 2016-03-18 15:13:57 +01:00
hal [B96B_F446VE] remove unused IRQ_RX1 interrupt 2016-02-22 15:24:42 +01:00
targets [LPC11U68, LPC1549] Improved PwmOut Documentation 2016-03-18 15:13:57 +01:00
.yotta_ignore ignore target files not supported by the yotta module, to minimise published module size 2015-09-09 09:30:31 +01:00
CMakeLists.txt ensure startup code is included when building for armcc 2015-06-26 18:42:12 +01:00
module.json use mbed-classic as the module name; use YOTTA_GLOBAL_INCLUDE_DIRS 2015-06-23 16:29:04 +01:00