diff options
author | John Wiegley <johnw@newartisans.com> | 2019-01-14 17:22:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-14 17:22:45 -0800 |
commit | d4ede603c9442bca4675d8cde2759636d3d87008 (patch) | |
tree | d61ce336f46b7c8b033c3bedb65610d625bb1a13 /src/utils.h | |
parent | 40f0bbfbb75296cc42e9fd44ac168048469176f2 (diff) | |
parent | da9738f8ee7785724d62eb94747d7803502545a8 (diff) | |
download | fork-ledger-d4ede603c9442bca4675d8cde2759636d3d87008.tar.gz fork-ledger-d4ede603c9442bca4675d8cde2759636d3d87008.tar.bz2 fork-ledger-d4ede603c9442bca4675d8cde2759636d3d87008.zip |
Merge pull request #1704 from scfc/remove-unused-macros
Remove unused macros HAVE_ACCESS and HAVE_REALPATH
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 6 |
1 files changed, 1 insertions, 5 deletions
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; |