summaryrefslogtreecommitdiff
path: root/source/base/base_os.h
blob: ce9acae664f8bc45c43915f4d436d8a60461b8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef BASE_OS_H
#define BASE_OS_H

internal void
print(const char *str)
{
    i32 len = 0;
    while (str[len]) len++;
    write(STDOUT_FILENO, str, len);
}

#define print(Format) print(Format)

#endif /* BASE_OS_H */