box-drawing: guard GCC pragma with #if defined(__GNUC__)

This commit is contained in:
Daniel Eklöf 2021-01-01 23:35:55 +01:00
parent a20c6bd667
commit 128883fa05
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -15,7 +15,9 @@
#define LIGHT 1.0
#define HEAVY 2.0
#pragma GCC optimize("Os")
#if defined(__GNUC__)
#pragma GCC optimize("Os")
#endif
struct buf {
uint8_t *data;