diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-04-11 17:50:41 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-04-11 17:51:19 +0200 |
| commit | b407e9290c6ce2ef69f4949f0cb04f8be3770eea (patch) | |
| tree | ffaa17f1ae16fd2dc07d11ee530bb9d4cce248e0 /text.c | |
| parent | 7530c6411b64c8a4a7790240315628ea94c7a6ba (diff) | |
| download | vis-b407e9290c6ce2ef69f4949f0cb04f8be3770eea.tar.gz vis-b407e9290c6ce2ef69f4949f0cb04f8be3770eea.tar.xz | |
text: do not redefine _GNU_SOURCE
Fix #536
Diffstat (limited to 'text.c')
| -rw-r--r-- | text.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ -#define _GNU_SOURCE // memrchr(3) is non-standard +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* memrchr(3) is non-standard */ +#endif #include <unistd.h> #include <stdio.h> #include <stdlib.h> |
