From da9738f8ee7785724d62eb94747d7803502545a8 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Sat, 12 Jan 2019 14:27:50 +0000 Subject: Remove unused macros HAVE_ACCESS and HAVE_REALPATH --- src/utils.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 857b8289..c9146dd7 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2018, John Wiegley. All rights reserved. + * Copyright (c) 2003-2019, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -500,10 +500,6 @@ inline T& downcast(U& object) { path resolve_path(const path& pathname); -#ifdef HAVE_REALPATH -extern "C" char * realpath(const char *, char resolved_path[]); -#endif - inline const string& either_or(const string& first, const string& second) { return first.empty() ? second : first; -- cgit v1.2.3