[4409] | 1 | //targethacks.h: |
---|
| 2 | |
---|
| 3 | /* |
---|
[5381] | 4 | * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2012 |
---|
[4409] | 5 | * |
---|
| 6 | * This file is part of RoarAudio, |
---|
| 7 | * a cross-platform sound system for both, home and professional use. |
---|
| 8 | * See README for details. |
---|
| 9 | * |
---|
| 10 | * This file is free software; you can redistribute it and/or modify |
---|
| 11 | * it under the terms of the GNU Lesser General Public License version 3 |
---|
| 12 | * as published by the Free Software Foundation. |
---|
| 13 | * |
---|
| 14 | * RoarAudio is distributed in the hope that it will be useful, |
---|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 17 | * GNU Lesser General Public License for more details. |
---|
| 18 | * |
---|
| 19 | * You should have received a copy of the GNU Lesser General Public License |
---|
| 20 | * along with this software; see the file COPYING. If not, write to |
---|
| 21 | * the Free Software Foundation, 51 Franklin Street, Fifth Floor, |
---|
| 22 | * Boston, MA 02110-1301, USA. |
---|
| 23 | * |
---|
| 24 | * NOTE: Even though this file is LGPLed it (may) include GPLed files |
---|
| 25 | * so the license of this file is/may therefore downgraded to GPL. |
---|
| 26 | * See HACKING for details. |
---|
| 27 | */ |
---|
| 28 | |
---|
| 29 | #ifndef _ROARAUDIO_TARGETHACKS_H_ |
---|
| 30 | #define _ROARAUDIO_TARGETHACKS_H_ |
---|
| 31 | |
---|
[4410] | 32 | #ifndef ROAR_HAVE_T_ID_T |
---|
[4409] | 33 | #define id_t int |
---|
[4410] | 34 | #endif |
---|
| 35 | |
---|
| 36 | #ifndef ROAR_HAVE_T_PID_T |
---|
[4409] | 37 | #define pid_t int |
---|
[4410] | 38 | #endif |
---|
| 39 | |
---|
| 40 | #ifndef ROAR_HAVE_T_UID_T |
---|
[4409] | 41 | #define uid_t int |
---|
[4410] | 42 | #endif |
---|
| 43 | |
---|
| 44 | #ifndef ROAR_HAVE_T_GID_T |
---|
[4409] | 45 | #define gid_t int |
---|
[4410] | 46 | #endif |
---|
| 47 | |
---|
| 48 | #ifndef ROAR_HAVE_T_SOCKLEN_T |
---|
[4409] | 49 | #define socklen_t int |
---|
[4410] | 50 | #endif |
---|
| 51 | |
---|
| 52 | #ifndef ROAR_HAVE_T_MODE_T |
---|
[4409] | 53 | #define mode_t unsigned int |
---|
[4410] | 54 | #endif |
---|
| 55 | |
---|
| 56 | #ifndef ROAR_HAVE_T_OFF_T |
---|
[4409] | 57 | #define off_t int |
---|
[4410] | 58 | #endif |
---|
| 59 | |
---|
[4409] | 60 | /* |
---|
| 61 | #define size_t unsigned int |
---|
| 62 | */ |
---|
[4410] | 63 | #ifndef ROAR_HAVE_T_SSIZE_T |
---|
[4409] | 64 | #define ssize_t signed int |
---|
[4410] | 65 | #endif |
---|
| 66 | |
---|
| 67 | #ifndef ROAR_HAVE_T_TIME_T |
---|
[4409] | 68 | #define time_t int64_t |
---|
[4410] | 69 | #endif |
---|
[4409] | 70 | |
---|
[4410] | 71 | #ifndef ROAR_HAVE_T_SA_FAMILY_T |
---|
[4409] | 72 | #define sa_family_t char |
---|
| 73 | #endif |
---|
| 74 | |
---|
[5282] | 75 | #ifndef ROAR_HAVE_CONST_M_PI_2 |
---|
| 76 | #define M_PI_2 1.57079632679 /* pi/2 */ |
---|
| 77 | #endif |
---|
| 78 | |
---|
[4409] | 79 | #endif |
---|
| 80 | |
---|
| 81 | //ll |
---|