mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-20 05:49:08 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2543c5a78b | ||
![]() |
33ef70b9e1 | ||
![]() |
8ef0ecdf44 | ||
![]() |
6660397589 |
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
||||
LIB_NAME := libbsd
|
||||
LIB_VERSION_MAJOR := 0
|
||||
LIB_VERSION_MINOR := 1
|
||||
LIB_VERSION_MICRO := 4
|
||||
LIB_VERSION_MICRO := 5
|
||||
LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR).$(LIB_VERSION_MICRO)
|
||||
|
||||
LIB_PKGCONFIG := $(LIB_NAME).pc
|
||||
|
@@ -37,6 +37,10 @@
|
||||
# define __dead2
|
||||
#endif
|
||||
|
||||
#ifndef __pure2
|
||||
# define __pure2
|
||||
#endif
|
||||
|
||||
/* Linux headers define a struct with a member names __unused.
|
||||
* Disable for now. */
|
||||
#if 0
|
||||
@@ -69,4 +73,20 @@
|
||||
# define __FBSDID(x)
|
||||
#endif
|
||||
|
||||
#ifndef __RCSID
|
||||
# define __RCSID(x)
|
||||
#endif
|
||||
|
||||
#ifndef __RCSID_SOURCE
|
||||
# define __RCSID_SOURCE
|
||||
#endif
|
||||
|
||||
#ifndef __SCCSID
|
||||
# define __SCCSID
|
||||
#endif
|
||||
|
||||
#ifndef __COPYRIGHT
|
||||
# define __COPYRIGHT
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@@ -66,7 +66,7 @@
|
||||
#endif
|
||||
#define ELF_TARG_MACH EM_AVR32
|
||||
#define ELF_TARG_CLASS ELFCLASS32
|
||||
#if define(__LITTLE_ENDIAN__)
|
||||
#if defined(__LITTLE_ENDIAN__)
|
||||
#define ELF_TARG_DATA ELFDATA2LSB
|
||||
#elif defined(__BIG_ENDIAN__)
|
||||
#define ELF_TARG_DATA ELFDATA2LMSB
|
||||
@@ -147,7 +147,7 @@
|
||||
|
||||
#define ELF_TARG_MACH EM_SH
|
||||
#define ELF_TARG_CLASS ELFCLASS32
|
||||
#if define(__LITTLE_ENDIAN__)
|
||||
#if defined(__LITTLE_ENDIAN__)
|
||||
#define ELF_TARG_DATA ELFDATA2LSB
|
||||
#elif defined(__BIG_ENDIAN__)
|
||||
#define ELF_TARG_DATA ELFDATA2LMSB
|
||||
|
Reference in New Issue
Block a user