Blame config/config.h

Packit Service db8df9
/*
Packit Service db8df9
 * Intel(R) Enclosure LED Utilities
Packit Service db8df9
 * Copyright (C) 2009-2017 Intel Corporation.
Packit Service db8df9
 *
Packit Service db8df9
 * This program is free software; you can redistribute it and/or modify it
Packit Service db8df9
 * under the terms and conditions of the GNU General Public License,
Packit Service db8df9
 * version 2, as published by the Free Software Foundation.
Packit Service db8df9
 *
Packit Service db8df9
 * This program is distributed in the hope it will be useful, but WITHOUT
Packit Service db8df9
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Packit Service db8df9
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
Packit Service db8df9
 * more details.
Packit Service db8df9
 *
Packit Service db8df9
 * You should have received a copy of the GNU General Public License along with
Packit Service db8df9
 * this program; if not, write to the Free Software Foundation, Inc.,
Packit Service db8df9
 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
Packit Service db8df9
 *
Packit Service db8df9
 */
Packit Service db8df9
Packit Service db8df9
#ifndef _CONFIG_H_INCLUDED_
Packit Service db8df9
#define _CONFIG_H_INCLUDED_
Packit Service db8df9
Packit Service db8df9
#include <features.h>
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 */
Packit Service db8df9
#define _HAVE_DMALLOC_H        0
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 * @brief Sets errno variable and returns.
Packit Service db8df9
 *
Packit Service db8df9
 * This macro sets the errno variable and makes function return -1.
Packit Service db8df9
 *
Packit Service db8df9
 * @param[in]      __val          integer value to be set.
Packit Service db8df9
 *
Packit Service db8df9
 * @return The macro does not return a value.
Packit Service db8df9
 */
Packit Service db8df9
#define __set_errno_and_return(__val) { errno = (__val); return -1; }
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 */
Packit Service db8df9
#define PATH_DELIM          '/'
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 */
Packit Service db8df9
#define PATH_DELIM_STR      "/"
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 */
Packit Service db8df9
#define PATH_SEP            ':'
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 */
Packit Service db8df9
#define PATH_SEP_STR        ":"
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 */
Packit Service db8df9
#define END_LINE            ('\n')
Packit Service db8df9
Packit Service db8df9
/**
Packit Service db8df9
 */
Packit Service db8df9
#define END_LINE_STR        "\n"
Packit Service db8df9
Packit Service db8df9
#endif				/* _CONFIG_H_INCLUDED_ */