2
0
MasterPassword/platform-darwin/Source/MasterPassword-Prefix.pch

48 lines
1.5 KiB
Plaintext
Raw Normal View History

2017-04-05 20:56:22 +00:00
//==============================================================================
// This file is part of Master Password.
// Copyright (c) 2011-2017, Maarten Billemont.
2011-11-30 21:42:40 +00:00
//
2017-04-05 20:56:22 +00:00
// Master Password is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
2011-11-30 21:42:40 +00:00
//
2017-04-05 20:56:22 +00:00
// Master Password is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You can find a copy of the GNU General Public License in the
// LICENSE file. Alternatively, see <http://www.gnu.org/licenses/>.
//==============================================================================
2011-11-30 21:42:40 +00:00
#define MP_LIBS_BEGIN \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Weverything\"")
#define MP_LIBS_END \
_Pragma("clang diagnostic pop")
MP_LIBS_BEGIN
#include <Availability.h>
#include <os/log.h>
#include <libgen.h>
MP_LIBS_END
2011-11-30 21:42:40 +00:00
#ifdef __OBJC__
#import "Pearl-Prefix.pch"
#define MPW_LOG(level, file, line, function, format, ...) mpw_log_sink(level, file, line, function, strf(format, ##__VA_ARGS__))
2017-04-05 16:53:56 +00:00
#if TARGET_OS_IOS
#import "MPTypes.h"
#import "MPiOSConfig.h"
2017-04-05 16:53:56 +00:00
#elif TARGET_OS_OSX
#import "MPTypes.h"
#import "MPMacConfig.h"
2017-03-30 16:15:28 +00:00
#endif
#endif
#include "mpw-util.h"