2015-10-27 19:59:27 +00:00
|
|
|
/**
|
2018-09-11 22:27:47 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-10-27 19:59:27 +00:00
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-10-27 19:59:27 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define _CONCAT(A, B) A##B
|
|
|
|
#define CONCAT(A, B) _CONCAT(A, B)
|
|
|
|
|
2016-12-08 22:54:53 +00:00
|
|
|
#if !defined(PIC_MODIFIER)
|
|
|
|
#define PIC_MODIFIER
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define SYMBOL_NAME(name) CONCAT(__USER_LABEL_PREFIX__, name)
|
|
|
|
#define SYMBOL_NAME_PIC(name) CONCAT(SYMBOL_NAME(name), PIC_MODIFIER)
|