mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04: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 LIGHT 1.0
|
||||||
#define HEAVY 2.0
|
#define HEAVY 2.0
|
||||||
|
|
||||||
#pragma GCC optimize("Os")
|
#if defined(__GNUC__)
|
||||||
|
#pragma GCC optimize("Os")
|
||||||
|
#endif
|
||||||
|
|
||||||
struct buf {
|
struct buf {
|
||||||
uint8_t *data;
|
uint8_t *data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue