alvieboy / ZXInterfaceZ

ZX Spectrum InterfaceZ
32 stars 4 forks source link

Add missing header guards #109

Open bog-dan-ro opened 2 years ago

bog-dan-ro commented 2 years ago

Use #pargma once everywhere.

alvieboy commented 2 years ago

I am sorry, but I disagree with #pragma usage, which is a non-portable compiler extension. The most portable and standartized way is to use ifdef/define/endif as already present in the code. If you did find missing guards, then I'll gladly accept ifdef/define/endif where they are missing (and eventually C++ extern statements if applicable).