forked from HowardHinnant/date
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) 2015 Ville Voutilainen
|
||||||
// Copyright (c) 2016 Alexander Kormanovsky
|
// Copyright (c) 2016 Alexander Kormanovsky
|
||||||
// Copyright (c) 2016, 2017 Jiangang Zhuang
|
// 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
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
// of this software and associated documentation files (the "Software"), to deal
|
// of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -189,6 +190,7 @@ get_download_folder()
|
|||||||
|
|
||||||
#else // !_WIN32
|
#else // !_WIN32
|
||||||
|
|
||||||
|
# ifndef INSTALL
|
||||||
|
|
||||||
static
|
static
|
||||||
std::string
|
std::string
|
||||||
@@ -206,6 +208,8 @@ expand_path(std::string path)
|
|||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# endif // !INSTALL
|
||||||
|
|
||||||
#endif // !_WIN32
|
#endif // !_WIN32
|
||||||
|
|
||||||
namespace date
|
namespace date
|
||||||
|
Reference in New Issue
Block a user