Skip to content
Myr

Make Linux/Macos discoverable by macros.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by antirez · committed by antirez · parent 806d412 · Browse files · 1 file+8 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−0 removed

  • other:+8 added−0 removed

1 file+8 added−0 removed

modified:kilo.c+8 added
32 unmodified lines
33 */3435#define KILO_VERSION "0.0.1"3637#ifdef __APPLE__38#include <AvailabilityMacros.h>39#endif4041#ifdef __linux__42#include <features.h>43#endif4445#ifdef __GLIBC__46#define _POSIX_C_SOURCE 200809L47#endif48
1259 unmodified lines