Add VS 2017 compatibility for building in Appveyor
* add travis-ci badge * vs2017 compatibility * add appveyor * fix appveyor * revert sln * fix win64 gdirposx * fix tab * version bump * cosmetic
This commit is contained in:
committed by
dukelsky
parent
8537001b1f
commit
5937dcacdb
2
goldlib/gall/gdirposx.cpp
Normal file → Executable file
2
goldlib/gall/gdirposx.cpp
Normal file → Executable file
@@ -126,7 +126,7 @@ void gposixdir::cd(const char *name, bool relative)
|
||||
else
|
||||
ndirname += "/*";
|
||||
struct _finddata_t de;
|
||||
long d = _findfirst(ndirname.c_str(), &de);
|
||||
intptr_t d = _findfirst(ndirname.c_str(), &de);
|
||||
if(d == -1) {
|
||||
if(is_dir(dirname))
|
||||
ok = true;
|
||||
|
2
goldlib/gall/gstrutil.cpp
Normal file → Executable file
2
goldlib/gall/gstrutil.cpp
Normal file → Executable file
@@ -31,7 +31,7 @@
|
||||
// -------------------------------------------------------------------
|
||||
// snprintf() and vsnprintf()
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && _MSC_VER<1900
|
||||
/* It is need a workaround for implementation "speciality" in snprintf() and vsnprintf() from Microsoft. */
|
||||
int snprintf( char *buffer, size_t sizeOfBuffer, const char *format, ... )
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#endif
|
||||
|
||||
// Only MS VC++ 5 to 7
|
||||
#if (_MSC_VER < 1100) || (_MSC_VER > 1400)
|
||||
#if (_MSC_VER < 1100) //|| (_MSC_VER > 1400)
|
||||
#error Only MS VC++ 5/6/7/7.1/8 supported. Check if the '_CrtMemBlockHeader' has not changed with this compiler!
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user