You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
885 B
34 lines
885 B
/* -*- coding: utf-8 -*-
|
|
* ----------------------------------------------------------------------
|
|
* Copyright © 2011, RedJack, LLC.
|
|
* All rights reserved.
|
|
*
|
|
* Please see the COPYING file in this distribution for license
|
|
* details.
|
|
* ----------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef LIBCORK_CONFIG_LINUX_H
|
|
#define LIBCORK_CONFIG_LINUX_H
|
|
|
|
/*-----------------------------------------------------------------------
|
|
* Endianness
|
|
*/
|
|
|
|
#include <endian.h>
|
|
|
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
#define CORK_CONFIG_IS_BIG_ENDIAN 1
|
|
#define CORK_CONFIG_IS_LITTLE_ENDIAN 0
|
|
#elif __BYTE_ORDER == __LITTLE_ENDIAN
|
|
#define CORK_CONFIG_IS_BIG_ENDIAN 0
|
|
#define CORK_CONFIG_IS_LITTLE_ENDIAN 1
|
|
#else
|
|
#error "Cannot determine system endianness"
|
|
#endif
|
|
|
|
#define CORK_HAVE_REALLOCF 0
|
|
#define CORK_HAVE_PTHREADS 1
|
|
|
|
|
|
#endif /* LIBCORK_CONFIG_LINUX_H */
|