mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Protect inclusions of autotools_config.h with HAVE_CONFIG_H
This commit is contained in:
parent
9eee455580
commit
86bae29d78
2 changed files with 8 additions and 3 deletions
|
@ -47,7 +47,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if defined(HAVE_CONFIG_H)
|
||||||
# include <autotools_config.h>
|
# include <autotools_config.h>
|
||||||
|
#endif
|
||||||
#if defined(HAVE_LOCALE_H)
|
#if defined(HAVE_LOCALE_H)
|
||||||
# include <locale.h>
|
# include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -44,7 +44,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* use autotools detection to determine endianess */
|
/* use autotools detection to determine endianess */
|
||||||
|
#if defined(HAVE_CONFIG_H)
|
||||||
# include <autotools_config.h>
|
# include <autotools_config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WORDS_BIGENDIAN
|
#ifndef WORDS_BIGENDIAN
|
||||||
# define LSB_BIT_ORDER
|
# define LSB_BIT_ORDER
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue