# HG changeset patch # User Michael Pavone # Date 1437241335 25200 # Node ID 13d3744b170ec40d4ed1f6f4e02e9f3bb828a80f # Parent 1b82b282b829921d3930eb94ed86a1f8b319a9e3# Parent 2a25ea5d94f76536c97611724219a6b57af7fb06 Merge diff -r 1b82b282b829 -r 13d3744b170e util.c --- a/util.c Fri Jul 17 22:16:33 2015 -0700 +++ b/util.c Sat Jul 18 10:42:15 2015 -0700 @@ -150,7 +150,7 @@ static char * exe_dir; if (!exe_dir) { char * cur; -#ifndef HAS_PROC +#ifdef HAS_PROC char * linktext = readlink_alloc("/proc/self/exe"); if (!linktext) { goto fallback; @@ -180,7 +180,7 @@ break; } } -#ifndef HAS_PROC +#ifdef HAS_PROC } else { exe_dir = linktext; }