let's see if this shiny new CI thingy actually catches stuff

This commit is contained in:
Alcaro 2019-04-29 13:39:08 +02:00
parent 584bb044cf
commit 25eb0d49d6
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,8 @@
#include "flips.h"
#include "crc32.h"
@appveyor_build_failure_test@
#ifdef __MINGW32__
//get rid of dependencies on libstdc++, they waste 200KB on this platform
void* operator new(size_t n) { return malloc(n); } // forget allocation failures, let them segfault.

View File

@ -52,9 +52,10 @@
//#define _WIN32_IE 0x0600
//#define __MSVCRT_VERSION__ 0x0601
#define NOMINMAX // this seems automatically on in C++ - crazy.
#ifdef __MINGW32__
#include <stdlib.h>
#undef __USE_MINGW_ANSI_STDIO // must remove this, to avoid a libgcc_s_sjlj-1.dll dependency on 32bit
// comments say libstdc++ demands a POSIX printf, but I'm not using that, so I don't care
#endif // comments say libstdc++ demands a POSIX printf, but I'm not using that, so I don't care
#include <windows.h>
#include <windowsx.h>
#include <shlobj.h>