Mercurial > hg > audiostuff
comparison spandsp-0.0.3/spandsp-0.0.3/src/msvc/unistd.h @ 5:f762bf195c4b
import spandsp-0.0.3
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 16:00:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:26cd8f1ef0b1 | 5:f762bf195c4b |
---|---|
1 /* | |
2 * SpanDSP - a series of DSP components for telephony | |
3 * | |
4 * inttypes.h - a fudge for MSVC, which lacks this header | |
5 * | |
6 * Written by Steve Underwood <steveu@coppice.org> | |
7 * | |
8 * Copyright (C) 2006 Michael Jerris | |
9 * | |
10 * | |
11 * This file is released in the public domain. | |
12 * | |
13 */ | |
14 | |
15 #if !defined(_INTTYPES_H_) | |
16 #define _INTTYPES_H_ | |
17 | |
18 #ifdef __cplusplus | |
19 extern "C" { | |
20 #endif | |
21 | |
22 #define open _open | |
23 #define write _write | |
24 | |
25 extern int gethostname (char *name, size_t len); | |
26 | |
27 #ifdef __cplusplus | |
28 } | |
29 #endif | |
30 | |
31 #endif |