diff options
author | Hexcoder <heiko@hexco.de> | 2019-07-13 08:42:30 +0200 |
---|---|---|
committer | Hexcoder <heiko@hexco.de> | 2019-07-13 09:39:51 +0200 |
commit | 5c0830f62857bc00d1da386e3d204932f544a6ba (patch) | |
tree | 05411c6720d3b0f2bd679cbd10beeffdf512fbf2 | |
parent | e96a2dd68140dd2ed43119c1450239e3755ba16b (diff) | |
download | afl++-5c0830f62857bc00d1da386e3d204932f544a6ba.tar.gz |
fix detection of glibc
-rw-r--r-- | afl-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-common.c b/afl-common.c index ea3bfa6c..1c5e5bfe 100644 --- a/afl-common.c +++ b/afl-common.c @@ -18,7 +18,7 @@ void detect_file_args(char** argv, u8* prog_in) { u32 i = 0; -#ifdef __glibc__ +#ifdef __GLIBC__ u8* cwd = getcwd(NULL, 0); /* non portable glibc extension */ #else u8* cwd; |