m-mcgowan / spark-flashee-eeprom

Eeprom emulation using external flash on Particle devices. Includes unit tests cross compiled to regular gcc, and on-device integration tests.
GNU Affero General Public License v3.0
34 stars 8 forks source link

More robust windows platform detection #27

Closed elcojacobs closed 5 years ago

elcojacobs commented 6 years ago

The #ifdef to detect whether on Windows wasn't working for me. This implementation tests multiple variations of the define to be more robust.