Skip to content

Commit

Permalink
Merge pull request #55 from skeeto/master
Browse files Browse the repository at this point in the history
Use _POSIX_C_SOURCE, drop _BSD_SOURCE, _GNU_SOURCE (#5, #12)
  • Loading branch information
antirez authored Jul 2, 2020
2 parents 62b099a + d65f4c9 commit f12546b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kilo.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@

#define KILO_VERSION "0.0.1"

#define _BSD_SOURCE
#define _GNU_SOURCE
#define _POSIX_C_SOURCE 200809L

#include <termios.h>
#include <stdlib.h>
Expand All @@ -44,6 +43,7 @@
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <time.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/time.h>
Expand Down

0 comments on commit f12546b

Please sign in to comment.