mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
box-drawing: guard GCC pragma with #if defined(__GNUC__)
This commit is contained in:
parent
a20c6bd667
commit
128883fa05
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue