mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-02 20:24:27 +02:00
Exclude expand_path when INSTALL is not defined
This commit is contained in:
committed by
Howard Hinnant
parent
3a9880999d
commit
c1034550d2
4
tz.cpp
4
tz.cpp
@@ -4,6 +4,7 @@
|
||||
// Copyright (c) 2015 Ville Voutilainen
|
||||
// Copyright (c) 2016 Alexander Kormanovsky
|
||||
// Copyright (c) 2016, 2017 Jiangang Zhuang
|
||||
// Copyright (c) 2017 Nicolas Veloz Savino
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -189,6 +190,7 @@ get_download_folder()
|
||||
|
||||
#else // !_WIN32
|
||||
|
||||
# ifndef INSTALL
|
||||
|
||||
static
|
||||
std::string
|
||||
@@ -206,6 +208,8 @@ expand_path(std::string path)
|
||||
# endif
|
||||
}
|
||||
|
||||
# endif // !INSTALL
|
||||
|
||||
#endif // !_WIN32
|
||||
|
||||
namespace date
|
||||
|
Reference in New Issue
Block a user