Revert D14011897: rename FBMacros.h to FBDefines.h

Differential Revision:
D14011897

Original commit changeset: f1dd7e686eef

fbshipit-source-id: ccf548ec2f82c7a1e6c2a0df5d6fd8f9dc9e1538
This commit is contained in:
Hoa Dinh
2019-02-09 23:17:33 -08:00
committed by Facebook Github Bot
parent 159061c284
commit 5cc1bb74c3
3 changed files with 23 additions and 21 deletions

View File

@@ -1,25 +1,27 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
/*
* Copyright (c) 2004-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
#ifndef SKMACROS_H
#define SKMACROS_H
#import <FBDefines/FBDefines.h>
#ifndef SKMACROS_H
#define SKMACROS_H
#ifdef __cplusplus
#define SK_EXTERN_C_BEGIN extern "C" {
#define SK_EXTERN_C_END }
#define SK_EXTERN_C extern "C"
#else
#define SK_EXTERN_C_BEGIN
#define SK_EXTERN_C_END
#define SK_EXTERN_C extern
#endif
#import <FBDefines/FBMacros.h>
#define SKLog(...) NSLog(__VA_ARGS__)
#define SKTrace(...) /*NSLog(__VA_ARGS__)*/
#ifdef __cplusplus
# define SK_EXTERN_C_BEGIN extern "C" {
# define SK_EXTERN_C_END }
# define SK_EXTERN_C extern "C"
#else
# define SK_EXTERN_C_BEGIN
# define SK_EXTERN_C_END
# define SK_EXTERN_C extern
#endif
#define SKLog(...) NSLog(__VA_ARGS__)
#define SKTrace(...) /*NSLog(__VA_ARGS__)*/
#endif