Skip to content

Commit

Permalink
Add #define _WITH_GETLINE to fix build on 11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Aug 11, 2019
1 parent e1f54e0 commit cf25e21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <rang.hpp>

#define _WITH_GETLINE // it breaks on 11.3 w/out this, but the manpage getline(3) doesn't mention _WITH_GETLINE
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
Expand Down

0 comments on commit cf25e21

Please sign in to comment.