Edinburgh Speech Tools  2.1-release
EST_iostream_win32.h
Go to the documentation of this file.
1 
2 
3  /************************************************************************/
4  /* */
5  /* Centre for Speech Technology Research */
6  /* University of Edinburgh, UK */
7  /* Copyright (c) 1996,1997 */
8  /* All Rights Reserved. */
9  /* */
10  /* Permission is hereby granted, free of charge, to use and distribute */
11  /* this software and its documentation without restriction, including */
12  /* without limitation the rights to use, copy, modify, merge, publish, */
13  /* distribute, sublicense, and/or sell copies of this work, and to */
14  /* permit persons to whom this work is furnished to do so, subject to */
15  /* the following conditions: */
16  /* 1. The code must retain the above copyright notice, this list of */
17  /* conditions and the following disclaimer. */
18  /* 2. Any modifications must be clearly marked as such. */
19  /* 3. Original authors' names are not deleted. */
20  /* 4. The authors' names are not used to endorse or promote products */
21  /* derived from this software without specific prior written */
22  /* permission. */
23  /* */
24  /* THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK */
25  /* DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING */
26  /* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT */
27  /* SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE */
28  /* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES */
29  /* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN */
30  /* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, */
31  /* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF */
32  /* THIS SOFTWARE. */
33  /* */
34  /*************************************************************************/
35  /* */
36  /* Author: Richard Caley (rjc@cstr.ed.ac.uk) */
37  /* Date: Tue Sep4th 1997 */
38  /* -------------------------------------------------------------------- */
39  /* Wrapper around iostream includes to avoid aome win32 nasties. */
40  /* */
41  /*************************************************************************/
42 
43 #if !defined(__EST_IOSTREAM_WIN32_H__)
44 # define __EST_IOSTREAM_WIN32_H__ 1
45 
46 /* This gets incuded from C */
47 #ifdef __cplusplus
48 #include <iostream>
49 
50 #undef read
51 #undef write
52 
53 #define snprintf _snprintf
54 
55 #endif
56 
57 
58 #endif