/*
 *   __  __                 _     _       _
 *  |  \/  | ___  ___  __ _| |   (_)_ __ | | __
 *  | |\/| |/ _ \/ __|/ _` | |   | | '_ \| |/ /
 *  | |  | |  __/\__ \ (_| | |___| | | | |   <
 *  |_|  |_|\___||___/\__,_|_____|_|_| |_|_|\_\
 *
 * Copyright (c) 2017-2018, The MesaLink Authors.
 * All rights reserved.
 *
 * This work is licensed under the terms of the BSD 3-Clause License.
 * For a copy, see the LICENSE file.
 *
 */

/* Visibility control macros */

#ifndef MESALINK_VISIBILITY_H
#define MESALINK_VISIBILITY_H

#ifdef HAVE_UNIX
#define MESALINK_API __attribute__((visibility("default")))
#define MESALINK_LOCAL __attribute__((visiblity("hidden")))
#else
#define MESALINK_API
#define MESALINK_LOCAL
#endif

#endif /* MESALINK_VISIBILITY_H */