system.h (eb232b7a) | system.h (941ddfd7) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 112 unchanged lines hidden (view full) --- 121#endif 122 123# ifndef ETIME 124# define ETIME ETIMEDOUT 125# endif 126 127#endif 128 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 112 unchanged lines hidden (view full) --- 121#endif 122 123# ifndef ETIME 124# define ETIME ETIMEDOUT 125# endif 126 127#endif 128 |
129#include <osl/endian.h> 130 |
|
129#ifdef NETBSD 130# define ETIME ETIMEDOUT 131# define _POSIX_THREAD_SYSCALL_SOFT 1 132# include <pthread.h> 133# include <netdb.h> 134# include <sys/sem.h> 135# include <sys/exec.h> 136# include <sys/filio.h> --- 34 unchanged lines hidden (view full) --- 171# include <vm/vm.h> 172# include <vm/vm_param.h> 173# include <vm/pmap.h> 174# include <vm/swap_pager.h> 175# include <sys/un.h> 176# include <netinet/tcp.h> 177# define IORESOURCE_TRANSFER_BSD 178# include <machine/endian.h> | 131#ifdef NETBSD 132# define ETIME ETIMEDOUT 133# define _POSIX_THREAD_SYSCALL_SOFT 1 134# include <pthread.h> 135# include <netdb.h> 136# include <sys/sem.h> 137# include <sys/exec.h> 138# include <sys/filio.h> --- 34 unchanged lines hidden (view full) --- 173# include <vm/vm.h> 174# include <vm/vm_param.h> 175# include <vm/pmap.h> 176# include <vm/swap_pager.h> 177# include <sys/un.h> 178# include <netinet/tcp.h> 179# define IORESOURCE_TRANSFER_BSD 180# include <machine/endian.h> |
179#if __FreeBSD_version < 500000 | |
180# if BYTE_ORDER == LITTLE_ENDIAN | 181# if BYTE_ORDER == LITTLE_ENDIAN |
181# define _LITTLE_ENDIAN | 182# undef _BIG_ENDIAN |
182# elif BYTE_ORDER == BIG_ENDIAN | 183# elif BYTE_ORDER == BIG_ENDIAN |
183# define _BIG_ENDIAN | 184# undef _LITTLE_ENDIAN |
184# elif BYTE_ORDER == PDP_ENDIAN 185# define _PDP_ENDIAN 186# endif | 185# elif BYTE_ORDER == PDP_ENDIAN 186# define _PDP_ENDIAN 187# endif |
187#endif | |
188# define NO_PTHREAD_RTL 189#endif 190 191#ifdef SCO 192# define AF_IPX -1 193# include <strings.h> 194# include <pthread.h> 195# include <shadow.h> --- 297 unchanged lines hidden --- | 188# define NO_PTHREAD_RTL 189#endif 190 191#ifdef SCO 192# define AF_IPX -1 193# include <strings.h> 194# include <pthread.h> 195# include <shadow.h> --- 297 unchanged lines hidden --- |