microsoft / jacdac-c

Jacdac C Firmware library
https://aka.ms/jacdac
MIT License
12 stars 15 forks source link

Replace #pragma once with traditional #ifndef guard #35

Closed furbrain closed 2 years ago

furbrain commented 2 years ago

While #pragma once is quite efficient, it is not supported by all compilers, specifically Microchip's XC8 compiler. I have therefore replaced these with the more tedious, but traditional #undef guards.

ghost commented 2 years ago

CLA assistant check
All CLA requirements met.