mirror of https://github.com/BOINC/boinc.git
lib: On Windows, call _strtoui64() instead of strtoull
svn path=/trunk/boinc/; revision=24038
This commit is contained in:
parent
2f881f920d
commit
ad3fb32f17
|
@ -5035,7 +5035,8 @@ Charlie 24 Aug 2011
|
|||
|
||||
Charlie 24 Aug 2011
|
||||
- lib, client: revert recent changes to restore unsigned long long so
|
||||
we can determine cause of and try to fix Linux build errors.
|
||||
we can determine cause of and try to fix Linux build errors.
|
||||
- lib: On Windows, call _strtoui64() instead of strtoull.
|
||||
|
||||
lib/
|
||||
parse.h
|
||||
|
|
|
@ -78,7 +78,9 @@ inline bool match_tag(const std::string &s, const char* tag) {
|
|||
return match_tag(s.c_str(), tag);
|
||||
}
|
||||
|
||||
#ifndef __APPLE__
|
||||
#ifdef _WIN32
|
||||
#define strtoull _strtoui64
|
||||
#elif !defined(__APPLE__)
|
||||
inline unsigned long long strtoull(const char *s, char **, int) {
|
||||
char buf[64];
|
||||
char *p;
|
||||
|
|
Loading…
Reference in New Issue