1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: $if blocks for headers

This commit is contained in:
Alexander Medvednikov
2020-03-19 07:59:01 +01:00
parent f798a0937a
commit 3dc3b11435
3 changed files with 8 additions and 3 deletions

View File

@@ -4,8 +4,7 @@ import os
#include <sys/ioctl.h>
$if solaris
{
$if solaris {
#include <unistd.h> // ioctl
#include <sys/termios.h> // TIOCGWINSZ
}