Define __BASE_FILE__

This commit is contained in:
Double Sine 2019-01-15 19:21:28 +08:00
parent 29d886718c
commit e9cf2d1e3d
No known key found for this signature in database
GPG Key ID: 44460E4F43EA8633
4 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,9 @@
#include "ExceptionSystem.hpp"
#include "ResourceGuardWin32.hpp"
#undef __BASE_FILE__
#define __BASE_FILE__ "FileMapper.hpp"
#if defined(UNICODE) || defined(_UNICODE)
using String = std::wstring;
#else

View File

@ -3,6 +3,9 @@
#include "ExceptionSystem.hpp"
#include "ResourceGuard.hpp"
#undef __BASE_FILE__
#define __BASE_FILE__ "Helper.cpp"
namespace Helper {
static Navicat11Crypto NavicatCipher("23970790", 8);

View File

@ -4,6 +4,9 @@
#include <sys/types.h>
#include "NavicatCrypto.hpp"
#undef __BASE_FILE__
#define __BASE_FILE__ "Helper.hpp"
namespace Helper {
extern Navicat11Crypto NavicatCipher;

View File

@ -19,6 +19,8 @@
#pragma comment(lib, "WS2_32.lib") // some symbol are used in OpenSSL static lib
#pragma comment(lib, "Crypt32.lib") // some symbol are used in OpenSSL static lib
#undef __BASE_FILE__
#define __BASE_FILE__ "RSACipher.hpp"
class RSACipher {
public: