You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
572 B
C++

#pragma once
#ifndef BEARLIBTERMINAL_H
// a wrapper for BearLibTerminal, disables all the annoying warnings (in visual studio)
#ifdef _MSC_VER
#define DISABLE_BAD_WARN __pragma(warning( disable : 4244 4626 5027 5031 4514 4996 6308 6386 28182 6385))
#define _CRT_SECURE_NO_WARNINGS 1
#define _CRT_NONSTDC_NO_WARNINGS 1
#pragma warning(push)
DISABLE_BAD_WARN
#include <BearLibTerminal.h>
#pragma comment(lib, "BearLibTerminal.lib")
#pragma warning(pop)
#else
#include <BearLibTerminal.h>
#endif // _MSC_VER
#endif // BEARLIBTERMINAL_H