Commit b4fef31d authored by Chris Pickett's avatar Chris Pickett

Made requested revisions for naming and spacing

parent 4731c7e5
......@@ -219,9 +219,9 @@ inline void EnsureDirExists(const std::string &filepath) {
// Obtains the absolute path from any other path.
// Returns the input path if the absolute path couldn't be resolved.
inline std::string AbsolutePath(const std::string &filepath) {
#ifdef NO_ABSOLUTE_PATH_RESOLUTION
#ifdef FLATBUFFERS_NO_ABSOLUTE_PATH_RESOLUTION
return filepath;
#else
#else
#ifdef _WIN32
char abs_path[MAX_PATH];
return GetFullPathNameA(filepath.c_str(), MAX_PATH, abs_path, nullptr)
......@@ -231,7 +231,7 @@ inline std::string AbsolutePath(const std::string &filepath) {
#endif
? abs_path
: filepath;
#endif // NO_ABSOLUTE_PATH_RESOLUTION
#endif // NO_ABSOLUTE_PATH_RESOLUTION
}
// To and from UTF-8 unicode conversion functions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment