You've already forked linux-packaging-mono
Imported Upstream version 6.8.0.73
Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
This commit is contained in:
parent
bceda29824
commit
73ee7591e8
@@ -1,3 +1,4 @@
|
||||
if !ENABLE_MSVC_ONLY
|
||||
if HOST_WIN32
|
||||
SUPPORT=
|
||||
else
|
||||
@@ -190,3 +191,17 @@ patch-libtool:
|
||||
sed -e 's,LTCOMPILE =,LTCOMPILE2 =,g' 2 > 3
|
||||
cat 1 3 > Makefile
|
||||
touch *.c
|
||||
|
||||
endif # !ENABLE_MSVC_ONLY
|
||||
|
||||
if ENABLE_MSVC_ONLY
|
||||
|
||||
all-local:
|
||||
|
||||
make -C $(top_srcdir)/msvc libmonoposixhelper
|
||||
|
||||
clean-local:
|
||||
|
||||
make -C $(top_srcdir)/msvc clean-libmonoposixhelper
|
||||
|
||||
endif # ENABLE_MSVC_ONLY
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
38e9d4425dae3c2c15acb2debcf4bb0aff68325d
|
||||
d073160c91661c4a314db316445dbf62812758c4
|
||||
@@ -1 +1 @@
|
||||
ccaf488efcd170fab0a8b00b5a9d08cfad677def
|
||||
0b4d5ea7d2c026efc75affdf11976ce05a20c7a6
|
||||
@@ -14,7 +14,7 @@
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) || defined(IOAPI_NO_64)
|
||||
#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__HAIKU__)
|
||||
// In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions
|
||||
#define FOPEN_FUNC(filename, mode) fopen(filename, mode)
|
||||
#define FTELLO_FUNC(stream) ftello(stream)
|
||||
|
||||
@@ -177,7 +177,7 @@ static void release_mutex (pthread_mutex_t *mutex)
|
||||
}
|
||||
}
|
||||
|
||||
static inline int
|
||||
static int
|
||||
keep_trying (int r)
|
||||
{
|
||||
return r == -1 && errno == EINTR;
|
||||
@@ -199,7 +199,7 @@ keep_trying (int r)
|
||||
#define PIPELOCK_GET_COUNT(x) ((x) & PIPELOCK_COUNT_MASK)
|
||||
#define PIPELOCK_INCR_COUNT(x, by) (((x) & PIPELOCK_TEARDOWN_BIT) | (PIPELOCK_GET_COUNT (PIPELOCK_GET_COUNT (x) + (by))))
|
||||
|
||||
static inline void
|
||||
static void
|
||||
acquire_pipelock_teardown (int *lock)
|
||||
{
|
||||
int lockvalue_draining;
|
||||
@@ -220,7 +220,7 @@ acquire_pipelock_teardown (int *lock)
|
||||
}
|
||||
}
|
||||
|
||||
static inline void
|
||||
static void
|
||||
release_pipelock_teardown (int *lock)
|
||||
{
|
||||
while (1) {
|
||||
@@ -233,7 +233,7 @@ release_pipelock_teardown (int *lock)
|
||||
}
|
||||
|
||||
// Return 1 for success
|
||||
static inline int
|
||||
static int
|
||||
acquire_pipelock_handler (int *lock)
|
||||
{
|
||||
while (1) {
|
||||
@@ -246,7 +246,7 @@ acquire_pipelock_handler (int *lock)
|
||||
}
|
||||
}
|
||||
|
||||
static inline void
|
||||
static void
|
||||
release_pipelock_handler (int *lock)
|
||||
{
|
||||
while (1) {
|
||||
|
||||
@@ -582,19 +582,19 @@ Mono_Posix_Syscall_sendmsg (int socket, struct Mono_Posix_Syscall__Msghdr* messa
|
||||
return r;
|
||||
}
|
||||
|
||||
static inline void make_msghdr (struct msghdr* hdr, unsigned char* msg_control, gint64 msg_controllen)
|
||||
static void make_msghdr (struct msghdr* hdr, unsigned char* msg_control, gint64 msg_controllen)
|
||||
{
|
||||
memset (hdr, 0, sizeof (struct msghdr));
|
||||
hdr->msg_control = msg_control;
|
||||
hdr->msg_controllen = msg_controllen;
|
||||
}
|
||||
static inline struct cmsghdr* from_offset (unsigned char* msg_control, gint64 offset)
|
||||
static struct cmsghdr* from_offset (unsigned char* msg_control, gint64 offset)
|
||||
{
|
||||
if (offset == -1)
|
||||
return NULL;
|
||||
return (struct cmsghdr*) (msg_control + offset);
|
||||
}
|
||||
static inline gint64 to_offset (unsigned char* msg_control, void* hdr)
|
||||
static gint64 to_offset (unsigned char* msg_control, void* hdr)
|
||||
{
|
||||
if (!hdr)
|
||||
return -1;
|
||||
|
||||
@@ -227,7 +227,7 @@ Mono_Posix_Syscall_get_utime_omit ()
|
||||
}
|
||||
|
||||
#if defined(HAVE_FUTIMENS) || defined(HAVE_UTIMENSAT)
|
||||
static inline struct timespec*
|
||||
static struct timespec*
|
||||
copy_utimens (struct timespec* to, struct Mono_Posix_Timespec *from)
|
||||
{
|
||||
if (from) {
|
||||
|
||||
@@ -77,7 +77,7 @@ Mono_Posix_Syscall_settimeofday (
|
||||
return r;
|
||||
}
|
||||
|
||||
static inline struct timeval*
|
||||
static struct timeval*
|
||||
copy_utimes (struct timeval* to, struct Mono_Posix_Timeval *from)
|
||||
{
|
||||
if (from) {
|
||||
|
||||
Reference in New Issue
Block a user